Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ConsoleLogger config): check show_limited is a bool instead of color #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lamdor
Copy link

@lamdor lamdor commented Feb 22, 2023

When configuring a ConsoleLogger with the minimal config of:

[loggers.console]
type = "Logging.ConsoleLogger"
# min_level = "Debug"             # Debug, Info (default) or Error
stream = "stdout"   

It would blow up with:

ERROR: LoadError: Expected boolean but got show_limited=true
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:33
 [2] logcompose(#unused#::Type{Logging.ConsoleLogger}, config::Dict{String, Any}, logger_config::Dict{String, Any})
   @ LogCompose.Connectors ~/depot/packages/LogCompose/QDbPx/src/connectors.jl:50
 [3] logger(config::Dict{String, Any}, loggername::Vector{SubString{String}})
   @ LogCompose ~/depot/packages/LogCompose/QDbPx/src/compose.jl:65
 [4] logger(config::Dict{String, Any}, loggername::String)
   @ LogCompose ~/depot/packages/LogCompose/QDbPx/src/compose.jl:57
....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant