-
Notifications
You must be signed in to change notification settings - Fork 0
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
KP-8688 Add a syslog handler #11
Conversation
(Keep old file-logging as well for now for testing purposes)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change looks sensible,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So is this preparing the general logger for syslog and not using it as default?
@janiemi, I sent a review request, mostly just to let you know that we're trying to make logging from multiple threads more failsafe by using |
76d8362
to
bc4f7d7
Compare
I think it’s great if it helps logging from parallel processes avoid messing up the log. However, does writing to syslog mean writing to the same file as other types of processes using the syslog facility, or would Korp still have a log file of its own? If the former, I’m wondering if the current logging format is too verbose for that. By the way, to simplify things and to avoid duplication, I have removed support for the plugin-specific (I’m sorry I still haven’t cleaned up the Git branches.) |
There's also configuration for syslog to handle the messages in an appropriate way, so they should end up in eg.
Ah, ok, good to know. So the way to have our own site-specific configuration will be to have a branch just for that with edits to |
Good that you can configure where the log info is written to. I’m then ready to approve these changes. (I admit that I’m not familiar with the syslog facility.)
Definitely not: the plugin configurations are also defined in Korp’s Even though it might be more modular to have separate |
(Keep old file-logging as well for now for testing purposes)