maas.log on snapped version is not rotating
Bug #1966666 reported by
Facundo Ciccioli
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Triaged
|
Medium
|
Unassigned | ||
3.4 |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Running maas's snapped version 2.9.0~rc3-
There's no entry on logrotate.d for such a file, but given what I read on [1] (pretty old) I don't believe that file should even exist. Snaps apparently should rely on the journal for logging purposes.
Found this lines on /var/snap/
if $syslogtag contains "maas" then {
*.* /var/snap/
} else {
[1] https:/
Changed in maas: | |
milestone: | none → 3.4.0 |
importance: | Low → Medium |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.x |
Changed in maas: | |
milestone: | 3.4.x → 3.5.x |
To post a comment you must log in.
Replacing supervisord with real snap services, which would send all logs to journal and avoid this issue, is in the roadmap.