Currently the log format in this module is hard-coded to timestamps as epoch rather than something readable (and easy to grep etc...). https://github.com/thias/puppet-squid3/blob/master/manifests/params.pp#L53 The variable `logformat` can be used in squid.conf to set the log format as per https://github.com/thias/puppet-squid3/blob/master/templates/squid.conf.documented#L2258 Example: ``` logformat squid %tl.%03tu %6tr %>a %Ss/%03Hs % access_log /var/log/squid/access.log squid ``` - [Making Squid log timestamps human readable](https://robinward.com/?p=372) - [Squid Docs - logformat](http://www.squid-cache.org/Doc/config/logformat/)
Currently the log format in this module is hard-coded to timestamps as epoch rather than something readable (and easy to grep etc...).
https://github.com/thias/puppet-squid3/blob/master/manifests/params.pp#L53
The variable
logformatcan be used in squid.conf to set the log format as per https://github.com/thias/puppet-squid3/blob/master/templates/squid.conf.documented#L2258Example: