RE: [squid-users] logging options and performance effects

From: Adam Aube <aaube@dont-contact.us>
Date: Mon, 25 Aug 2003 09:10:20 -0400

> I then found a perl script someone had posted to this list that
> processes logs produced with the following option set in the
> squid.conf file "log_mime_hdrs on". This options produces a lot
> of output and I am wondering how much of a performance impact this
> could have on squid.

log_mime_headers is normally only used for troubleshooting, both
because of the amount of output it produces and also because it
can reveal usernames/passwords submitted to web forms. Turn it on
only when needed.

As for performance, it could cause a problem, but that will vary
depending on setup. All you can do is monitor and see if a disk
bottleneck occurs.

> Also do I need to have the --enable-referer-log
> --enable-useragent-log options compiled in if I am using the
> log_mime_hdrs option?

Very likely not. These are generally not necessary, either - that's
why they are not compiled in by default.

> Just curious as to what is the most efficient way to get log files
> suitable for a log analyser

Most log analyzers look only at the access.log anyway. Most of the
time you will only need access.log and cache.log.

Adam
Received on Mon Aug 25 2003 - 07:10:24 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:06 MST