Unit log not showing up
Bug #2007535 reported by
Andrew Liaw
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
When running `juju debug-log` log for a unit is not showing up.
Controller juju version: 2.9.32
CLI juju version: 2.9.38-ubuntu-amd64
logging-config is set to <root>=
The unit is producing logs and the logs can be found on the machine.
See the juju channel thread for details:
https:/
I notice that the local log file had these lines following the Juju uniter preamble:
2023-02-14 14:46:40 DEBUG unit.runner/ 11.juju- log server.go:319 Operator Framework 1.5.4 up and running. 11.juju- log server.go:319 Emitting Juju event reconcile_runners. 11.juju- log server.go:319 http:// localhost:None "GET /1.0 HTTP/1.1" 200 None
2023-02-14 14:46:40 DEBUG unit.runner/
2023-02-14 14:46:40 DEBUG unit.runner/
Is it possible that the charm logic is using the juju exec/run trick to dispatch a custom hook, and that a misapplication of said trick is wedging the charm?