Hi
Iam using a server level access log, and each vhost has accesslog { useServer 1; }
iam using the a custom log format, but the vhost is always being prepended to the logfile, before my log format; like access.log looks like
["vhostname.com"] %h %l %u %t \"%r\" %>s %b
How to get rid of the prepended part, such the access log only contains my log format?
To clarify, if i set my log format as XXX %h %l %u %t \"%r\" %>s %b i would expect the first word in each log line to be XXX - but yet its not, its ["vhostname.com"] field, ie:
["vhostname.com"] XXX %h %l %u %t \"%r\" %>s %b
This makes the access log incompatable with existing systems like awstats etc.
Any ideas?
Iam using a server level access log, and each vhost has accesslog { useServer 1; }
iam using the a custom log format, but the vhost is always being prepended to the logfile, before my log format; like access.log looks like
["vhostname.com"] %h %l %u %t \"%r\" %>s %b
How to get rid of the prepended part, such the access log only contains my log format?
To clarify, if i set my log format as XXX %h %l %u %t \"%r\" %>s %b i would expect the first word in each log line to be XXX - but yet its not, its ["vhostname.com"] field, ie:
["vhostname.com"] XXX %h %l %u %t \"%r\" %>s %b
This makes the access log incompatable with existing systems like awstats etc.
Any ideas?