[dev] Logging Horde via Syslog

Andre Pawlowski sqall at h4des.org
Wed Apr 8 12:56:26 UTC 2009


Hey guys,

I'm trying to use syslog for the horde logging. But I have some  
questions which answer I can't find in the Horde FAQ or wiki.

When I change the logging from file to Syslog and save everything, my  
conf.php looks like this:

$conf['log']['priority'] = PEAR_LOG_NOTICE;
$conf['log']['ident'] = 'HORDE';
$conf['log']['params'] = array();
$conf['log']['name'] = auth;
$conf['log']['type'] = 'syslog';


For the entry $conf['log']['name'] the description is:
"Syslog facility to use Enter a valid PHP expression."

I add the line

HORDE.*                         /var/log/horde.log

to my /etc/syslog.conf and restart the sysklogd.

Now when I log in to Horde, I can see the entry:
pr  8 14:48:16 kokyt0s HORDE[9405]: [horde] Login success for sqall  
[xxx.xxx.xxx.xxx] to Horde [pid 9405 on line 138 of "/horde/login.php"]

But only under /var/log/syslog. There is no /var/log/horde.log and  
there is no entry under /var/log/auth.log.

Perhaps I understand something wrong, but I thought with  
$conf['log']['name'] = auth; in my conf.php syslog will save the  
entries under the auth "facility".

I hope I will see things much clearer when you help me.

Regards
-- 
[] Andre Pawlowski

visit http://h4des.org





More information about the dev mailing list