Posts Tagged: php

Working with PHP and a custom syslog file

First, open syslog.conf (normally at /etc/syslog.conf) and see which local log facility is available. A log ‘facility’ is a mechanism syslog provides to specify what type of program is logging a message. Local log facilities are for user defined programs. Here’s what the relevant portion of my syslog.conf file looks like: lpr.info/var/log/lpr.log mail.*/var/log/mail.log ftp.*/var/log/ftp.log install.*/var/log/install.log […]

Read More