Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hardcoded log format #60

Open
sammcj opened this issue Apr 17, 2019 · 0 comments
Open

Fix hardcoded log format #60

sammcj opened this issue Apr 17, 2019 · 0 comments

Comments

@sammcj
Copy link

sammcj commented Apr 17, 2019

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant