Logging to the System Log Daemon


ErrorLog syslog ErrorLog syslog:local7


On Unix systems, specify syslog as the argument to ErrorLog to instruct Apache to use the system log daemon to log Apache errors. This is shown in the example. You can optionally attach a facility (by default local7) as shown. A syslog facility is an information field that is associated with a syslog message to indicate the source of a log message. Facilities local0 to local10 are reserved for use by administrators and applications, such as Apache.




Apache(c) Phrase Book(c) Essential Code and Commands
Apache Phrasebook
ISBN: 0672328364
EAN: 2147483647
Year: 2006
Pages: 254

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net