Syslog has several pre-defined facilities, such as "mail", "daemon",  
"kern", etc.
There are also 8 additional facilities for you to use for your own  
applications.
These are "local0" through "local7".  You could decide to have all  
apache servers at your site send their error logs go to local7 and  
all logs from a homegrown script sent to local4.  It's entirely up to  
you...

Cheers,

/Jason

On Jul 24, 2006, at 2:54 PM, Vladimir Strycek wrote:

> Aha ok thats sound resonable, ehat is that local7 part ?
>
>
>
>
> On Sun, 2006-07-23 at 21:40 +0200, Vladimir Strycek wrote:
>
>>> Hi all,
>>>
>>> I just installed php-syslog-ng with some minor difficulties but its
>>> workinf fine now... but there are some tthings that i wanna ask.
>>>
>>> 1. Is it possible to log with php-syslog-ng also error messages
>>> generated by apache ? e.g. /var/log/apache2/error_log
>>
>>
>
> Yes, you can log apache error messages to a standard syslog server by
> adding the following in your apache config:
> ErrorLog syslog:local7
> or something similar, tweak to suit your tastes.
>
> Jason Martens
>
>
> ---------------------------------------------------------------------- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys -- and earn  
> cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Php-syslog-ng-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support
>
>
> __________ NOD32 1.1675 (20060723) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
>
>
> ---------------------------------------------------------------------- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys -- and earn  
> cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Php-syslog-ng-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Php-syslog-ng-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support

Reply via email to