[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] combined-access on raq3
- Subject: Re: [cobalt-users] combined-access on raq3
- From: "Thomas Schmitz" <ts-lists@xxxxxxxxxxxxxxxxx>
- Date: Wed Jan 10 12:53:01 2001
- Organization: SIC Internet Consulting
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>on my RAQ3 the combined -access is 0 bytes
>long. Anyone know which other file might be
>usable for this - without affecting the site's
>web.log process ?
You could set up Apache to create a new, separate log file
for this purpose without interfering with the existing
configuration - add this Line to the Apache config:
CustomLog /var/log/httpd/web-combined combined
(check if log-path is the same on RAQ3 and if the "combined" format
has been configured - ouput of 'grep LogFormat /etc/httpd/conf/*.conf'
should include
LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
)
NOTE: I'm not sure if adding a line to the apache config
might already void your Cobalt warranty. Make a backup of
httpd.conf.
In order to limit the size of this new logfile, you might
want to set up logrotate as follows:
(save as /etc/logrotate.d/webcombined)
== cut ===
/var/log/httpd/web-combined {
compress
size 30M
postrotate
killall -USR1 httpd
endscript
}
== cut ==
Regards,
Thomas