[horde] Horde logging. Syslog options

Vilius Šumskas vilius at lnk.lt
Wed Sep 28 16:12:08 UTC 2011


Sveiki,

Wednesday, September 28, 2011, 6:48:57 PM, you wrote:

> Hi

> 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.

What  if  you  chmod  775  /var/log/horde  directory? Or if you log to
/var/log/horde4.log directly? Or /tmp/horde4.log ?

-- 
Best regards,
 Vilius



More information about the horde mailing list