Log level override for services #37
Labels
No labels
bug
confirmed
critical
discussion
documentation
Doing
enhancement
suggestion
support
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/hazaar-warlock#37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Services should be able to have their own log level. That mean, you might have the Warlock server itself on W_INFO to limit the logs, but the service may want W_DEBUG so you can diagnose issues.
At the moment, the service sends all of it's log messages and it's up to the server to filter out based on the set log level. This should make it fairly easy to instead use the service log level (which defaults to the global log level if not set) to filter out messages. Alternatively, we could get it to not send log messages so the service class itself filters out. The difference here is that we would need to negotiate the log level on startup.
created merge request !16 to address this issue
mentioned in merge request !16
mentioned in commit
7356036afc
closed via merge request !16