Since a few years I've a StatusNet Microblog site, where the logging into syslog generated about 1GB entries a day. I found nowhere a nice solution, even in the StatusNet forum many people asked about the same problem - and got almost no useable answer.
Today I played around with some settings, and it seems these two changes are removing almost every logging - not very nice, but it works for me:
- In config.inc.php, add/change:
$config['site']['logfile'] = '/dev/null';
- In /lib/util.php, line1672:
//comment this out: syslog($priority, $msg);