please add syslog support to snappy config ubuntu-core
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Confirmed
|
Medium
|
Oliver Grawert | ||
ubuntu-core-config (Ubuntu) |
Fix Committed
|
Medium
|
Oliver Grawert |
Bug Description
You cannot currently customize logging on snappy systems. /etc/systemd/
In my case, I wanted to do remote logging to a syslog server. systemd does allow remote logging, but not in the syslog format and Ubuntu currently doesn't include journal-remote.
I'm not sure which logging options should be exposed via snappy config, but it seems that remote logging would be a great first step. Eg, perhaps something along the lines of:
$ snappy config ubuntu-core
...
config:
ubuntu-core:
logging:
remote-
This could then create /etc/rsyslog.
*.*;auth,
This will forward all logs (excluding auth and authpriv) to 10.0.0.1 udp port 514.
summary: |
- please make /etc/rsyslog.d a writable path + please add syslog support to snappy config ubuntu-core |
description: | updated |
description: | updated |
Changed in snappy: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Oliver Grawert (ogra) |
assignee: | Oliver Grawert (ogra) → nobody |
Changed in ubuntu-core-config (Ubuntu): | |
assignee: | nobody → Oliver Grawert (ogra) |
importance: | Undecided → Medium |
status: | New → Confirmed |
affects: | snappy → snapd |
the dir is now writable, we still need support for writing to the dir in the core-control interface and some scripting in the config hook of the core snap