Comment 5 for bug 1635017

Revision history for this message
Anastasia (anastasia-macmood) wrote :

From lxd issue, Stephane's response:

The logging code we use in LXD itself doesn't have a TRACE level. The fact that you're getting those in Juju seems to indicate that you're registering a log handler in the juju code.

If you don't want LXD debug output to make it to your logs, just don't register a handler for the Debug output.

Looks like the offending part of the juju code is: https://github.com/juju/juju/blob/staging/tools/lxdclient/client.go#L67

Closing this issue as LXD's logging is consistent, it just doesn't match the log levels of Juju and the way to fix this is to change the log handler that Juju registers.