hockeypuck snap doesn't logrotate correctly
Bug #1920249 reported by
Nick Moffitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hockeypuck |
New
|
Undecided
|
Unassigned |
Bug Description
/etc/logrotate.
postrotate
endscript
This isn't supported by the snap service, so hockeypuck continues to write to the hockeypuck.log.1, hockeypuck.log stays zero-bytes, and since that's beneath the threshold logrotate never looks at it again.
Given a restart is a fairly heavy-handed operation, could this reload target be added to support switching log files?
To post a comment you must log in.
When I explored doing this properly via snaps I ran into a bunch of problems and ended up deploying a workaround: https:/ /wiki.canonical .com/Informatio nInfrastructure /IS/HockeypuckK eyserver# Logging
This override seems to have been clobbered around February 25 by another SRE's override file. I guess they didn't check to see if one existed already. I'll add it back.