[horde] Horde logging. Syslog options
Simon Brereton
simon.brereton at buongiorno.com
Wed Sep 28 18:03:38 UTC 2011
> -----Original Message-----
> From: horde-bounces at lists.horde.org [mailto:horde-
> bounces at lists.horde.org] On Behalf Of Vilius Šumskas
> 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 ?
Good suggestions - and ones I'd been avoiding. However, it doesn't help. I tried both your suggestions - restarted Apache each time - and still nothing.
I really don't understand :) And no one else appears to be having an issue. I'd give syslog a try, but I don't really want that if I can avoid it.
If anyone is using syslog - I'd be grateful for advice/opinion.
Thanks.
Simon
More information about the horde
mailing list