RE: [squid-users] Filtering log data

From: David <david.koch@dont-contact.us>
Date: Tue, 28 Feb 2006 15:21:28 +0100

Hi again,

Would the following be correct for logging only text/html?

# MIME acl rules:

acl myMimeType req_mime_type text/html
acl all req_mime_type

access_log <filepath> <logformat name> allow myMimeType allow all

Thank you,

/David

> Also, is it possible to include a condition so only requests of
> certain mime types are logged?

Yes.

> If so, how is it done?

See the acess_log directive documentation in squid.conf.default after
applying the patch.

Regards
Henrik
Received on Tue Feb 28 2006 - 07:21:36 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:04 MST