emabee / flexi_logger

A flexible logger for rust programs that can write to stderr, stdout, and/or to log files
Apache License 2.0
315 stars 55 forks source link

Specfile not correctly interpreted? #36

Closed emabee closed 5 years ago

emabee commented 5 years ago

When initializing flexi_logger with an initial logspec like "info", and configuring it to use an already existing specfile that uses more trace levels (e.g. including "debug" and "trace2), then the additional trace levels do not become effective (in the example only "error", "warn" and "info" will be printed.

emabee commented 5 years ago

Can be worked around with using "info, dummy=trace" as initial logspec. Note that this workaround comes with some mild performance penalty. The real fix is on the way.

emabee commented 5 years ago

Fixed with 0.14.4