agent logging override does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm running 2.4-beta1-
juju deploy mysql
juju ssh mysql/0
sudo vi /var/lib/
where the bottom of the file looks like:
=======
loggingconfig: <root>=
values:
CONTAINER_TYPE: ""
NAMESPACE: ""
LOGGING_
mongoversion: "0.0"
=======
sudo systemctl restart jujud-unit-
Back on the client,
juju deploy mediawiki
juju deploy wordpress
juju debug-log
Yet I'm getting lines that are prefixed with:
unit-mysql-0: 16:52:30 DEBUG
unit-mediawiki-0: 17:08:48 DEBUG
unit-wordpress-0: 17:10:09 DEBUG
Should I not just be getting mysql lines?
Secondary question: What is supposed to happen if I use LOGGING_OVERRIDE on multiple agents? Will it log all those agents?
The logging config has unit=DEBUG to I would expect to see debug logging for any unit in the debug-log output.
All logs from each agent are sent to the controller and stored, and this is what is output when using debug-log.