Skip to content

Conversation

pmaanen
Copy link
Contributor

@pmaanen pmaanen commented Aug 16, 2022

Loading the log settings last causes heaps of INFO messages to be
displayed by lsl::get_local_interfaces() even if the user has set log level to -3.
Changing the order causes less ui clutter and respects the users choices.

Loading the log settings last causes heaps of INFO messages to be
displayed by lsl::get_local_interfaces() even if the user has set log level to -3.
Changing the order causes less ui clutter and respects the users choices.
} else
loguru::g_stderr_verbosity = log_level;

// log config filename only after setting the verbosity level
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This log statement should remain at the end. We should only see "Configuration loaded ..." after we've finished parsing the loaded config.

@cboulay
Copy link
Collaborator

cboulay commented Aug 16, 2022

Thanks for the PR. Don't worry about the ubuntu-18.04 or macOS-latest build failures.

I ask that you address the one comment I left inline then this looks good to merge.

@cboulay cboulay merged commit 254627a into sccn:master Aug 16, 2022
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.

2 participants