Operating System - HP-UX
1846990 Members
3552 Online
110257 Solutions
New Discussion

Http request logging to syslog file

 
Dayanand Naik
Frequent Advisor

Http request logging to syslog file

Hi,

Can http request be diverted to the syslog file as telnet and ftp logs message and errors. Or is it the work of the Web server to maintain a log.

Suggestion welcomed.

Regards,
Dayanand Naik
Dayanand Naik
1 REPLY 1
Santosh Nair_1
Honored Contributor

Re: Http request logging to syslog file

That depends on the web server that you're using. For example, Apache supports the use of syslog through the ErrorLog directive (Syntax: ErrorLog file-path|syslog[:facility]).

From the Apache Web Server Documentation:

Apache 1.3 and above: Using syslog instead of a filename enables logging via syslogd(8) if the system supports it. The default is to
use syslog facility local7, but you can override this by using the syslog:facility syntax where facility can be one of the names usually
documented in syslog(1).

-Santosh
Life is what's happening while you're busy making other plans