-
Notifications
You must be signed in to change notification settings - Fork 56
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
Custom formatter for syslog not working? #168
Labels
Comments
I have tried both methods, but I think it would be nice to be able to format the log message itself using a formatter. That way you can add things like thread id, target, etc to it, similar to logging to a file or console. |
That makes sense, I see... |
Realized with 0.29.0 |
Thanks, works perfectly! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, thanks for your work on this library. I have a question about formatting when using a Syslog writer, it seems my formatting method is not being used. Considering the code below, my custom formatter is applied to the console output, but not to the syslog output. The predefined formatters also do not seem to work. Although the syslog entry do contain timestamp, hostname and such, I need the message itself to be more detailed. Am I doing something wrong here?
The text was updated successfully, but these errors were encountered: