[dev] Logging Horde via Syslog

Andre Pawlowski sqall at h4des.org
Wed Apr 8 17:01:53 UTC 2009



Adam Tauno Williams wrote:
> On Wed, 2009-04-08 at 14:56 +0200, Andre Pawlowski wrote:
>   
>> 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 dd the line
>> HORDE.*                         /var/log/horde.log
>>     
>
> You cannot make-up facilities.  Use one of the local1...local7
> facilities.  HORDE.* won't match anything.
>
>   
Ok, is it possible to use syslog and log only horde logs in
/var/log/horde.log? And if it is possible, how can I do it?

-- 

Andre Pawlowski

-------------------------------------------------------------------

Genius is one percent inspiration and 99 percent transpiration.
	-Thomas Alva Edison



More information about the dev mailing list