-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
Feature request: syslog appender #73
Comments
Hey Daniel! Sure, would be happy to take a PR that adds a Syslog appender :-) |
Cool! I've added this to my todo list. |
Great, just ping me if you have any questions along the way. Cheers! |
Any progress on this @danielsz ? |
@nicferrier Ah, no, never got to it, sorry. :( |
+1 for syslog support, unless there is another way to get Papertrail to listen to a Heroku app. edit: nevermind, using the default config started working. I hereby rescind my +1. |
@danielflower what do you mean by "using the default config"? I also want to log to syslog from timbre. |
I think I meant just logging to the console. I never got it to log to syslog sorry. |
Just throwing out there that writing a Timbre appender for https://github.com/joshrotenberg/brolog looks like it should be quite straight forward + potentially a good exercise for folks wanting to get more familiar with how Timbre appenders work. There's an example appender that you can use as a starting point at https://github.com/ptaoussanis/timbre/blob/master/src/taoensso/timbre/appenders/example.clj An appender's basically just a map with some config keys and a PR welcome if anyone feels like taking a stab at this. |
I'm going to take a shot at this. I'll be using timbre and I'd like to contribute. My time is extremely limited but if I can just leverage the aforementioned brolog library implementation seems as it will be very easy. |
Not that the syslog API is changing much, but how do you feel about using a library that hasn't been touched in several years? I'm assuming that's okay? |
Hi Peter,
I note that syslog support was never mentioned before.
Hipsters may cling on to logging frameworks and façades like they would to skinny jeans, but there is a venerable protocol on UNIX systems called Syslog that is a trusted option when deploying daemons on production servers. Call me old-fashioned.
There is an existing implementation in Clojure.
More rationale (excerpt from LinuxJournal):
The text was updated successfully, but these errors were encountered: