Skip to content

Logging configuration doesn't work right on Windows #5

Description

@zethon

Consider a configuration like: debug,PeerManager=trace

This will not work because either the call to set the SPDLOG_LEVEL envvar doesn't work on Windows, or the call to read it doesn't work on Windows. Therefore only the initial call to spdlog::cfg::helpers::load_levels(levelstr); is applied from inside initializeLoggers()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions