[horde] Horde logging. Syslog options

Simon Brereton simon.brereton at buongiorno.com
Wed Sep 28 15:48:57 UTC 2011


I'm still not getting anything in the Horde logs.

My options are:

$conf['log']['priority'] = 'INFO';
$conf['log']['ident'] = 'HORDE';
$conf['log']['name'] = '/var/log/horde/horde4.log';
$conf['log']['params']['append'] = true;
$conf['log']['params']['format'] = 'default';
$conf['log']['enabled'] = true;
$conf['log_accesskeys'] = false;

The apache logs - which are being written are:

mail:~# ls /var/log/apache2/logs/
total 23M
drwxr-xr-x 2 root root 4.0K Sep  2 19:11 ./
drwxr-x--- 3 root adm  4.0K Sep 25 06:26 ../
-rw-r--r-- 1 root root 655K Sep 28 16:21 mydomain-webmail-access_log
-rw-r--r-- 1 root root  11K Sep 25 06:26 mydomain-webmail-error_log
-rw-r--r-- 1 root root 356K Sep 28 10:41 ssl_access.log

The horde logs which are not being written are:
mail:~# ls /var/log/horde/
total 8.0K
drwxrw----  2 root adm      4.0K Sep 23 18:21 ./
drwxr-xr-x 13 root root     4.0K Sep 28 06:26 ../
-rwxrw-rw-  1 root www-data    0 Sep 23 17:51 horde4.log
-rwxrw-rw-  1 root www-data    0 Sep 23 18:21 sync.log

It doesn't matter if I make the group adm or root - nothing gets written.  I really can't see why this doesn't work.  But I don't know enough about the Horde logging mechanism and I'm not versed enough in php to go looking.  

My next question, therefore, is - what are the pros and cons of using Syslog?  Does anyone use the syslog option - and if so, why?  How do you have that setup?

Any advice/pointers would be appreciated.



More information about the horde mailing list