Comment 14 for bug 1893993

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1893993] Re: juju only logging WARNING and ERROR by default for units and no python tracebacks

It wouldn't be <unit>=DEBUG but "unit=DEBUG" (no brackets, brackets are
only for 'root' because there isn't a way to express the empty value).

However <root> should definitely encompass unit, the most common prefixes
are "juju" and "unit" for our logging. So you *could* do:

"logging-config=juju=DEBUG;unit=DEBUG"
but
"logging-config=<root>=DEBUG" should cover that already.

On Fri, Sep 4, 2020 at 4:10 PM Corey Bryant <email address hidden>
wrote:

> In other words, if I create a new controller without changing any juju
> logging defaults, unit logging defaults to WARNINGS.
>
> ** Summary changed:
>
> - juju only logging WARNING and ERROR by default for units and no python
> tracebacks
> + juju unit logging defaults to WARNING and no python tracebacks at any
> log level
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1893993
>
> Title:
> juju unit logging defaults to WARNING and no python tracebacks at any
> log level
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1893993/+subscriptions
>