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

Added command line switches to control logging level of monitors #193

Merged
merged 1 commit into from
Jul 28, 2021

Conversation

quantum-shift
Copy link
Collaborator

@quantum-shift quantum-shift commented Jul 17, 2021

Command line switches --level LEV and --level MON:LEV have been added. These can be used to set the minimum global logging level as well as minimum logging level for individual monitors.

The README has been updated to include cloning instructions (--recurse-submodules) as prmon now includes spdlog submodule. The new command line options have also been updated in the README.

Closes #189, closes #106.

Copy link
Member

@graeme-a-stewart graeme-a-stewart left a comment

Choose a reason for hiding this comment

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

Thanks @quantum-shift - really works very much as I expected. Just a few small issues to fix before merging this one.

package/src/MessageBase.cpp Outdated Show resolved Hide resolved
package/src/MessageBase.cpp Outdated Show resolved Hide resolved
package/src/prmon.cpp Show resolved Hide resolved
package/src/MessageBase.cpp Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@quantum-shift quantum-shift force-pushed the spdlog_logger branch 2 times, most recently from 23a00b5 to 61e405c Compare July 21, 2021 12:56
Global logging level can also be set

Updated README.md to include new command line switch and cloning instructions
@quantum-shift
Copy link
Collaborator Author

Thank you for your comments, @amete and @graeme-a-stewart. I have made the changes. Please have a look.

@graeme-a-stewart graeme-a-stewart merged commit d02f032 into HSF:main Jul 28, 2021
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.

spdlog vs boost.log for prmon logging Add logging functionality
3 participants