PHP and syslogd/syslog-ng

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
jamiel
Forum Contributor
Posts: 276
Joined: Wed Feb 22, 2006 5:17 am
Location: London, United Kingdom

PHP and syslogd/syslog-ng

Post by jamiel »

Hey all,

If I want to set my error log to syslog, using the php.ini file how do you define which facility the log will come in eg. to mimic openlog() . It seems to default to user.notice and I would prefer local0 .

Thanks

Jamie
Post Reply