StatusNet too much log entries

Submitted by Nikolaus Polak on Wed, 10/10/2012 - 12:13

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:

  1. In, add/change:
    $config['site']['logfile'] = '/dev/null';
  2. In /lib/util.php, line1672:
    //comment this out:            syslog($priority, $msg);