Skip to content

Fix hardcoded log format #60

@sammcj

Description

@sammcj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions