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

feature req: syslog handler #81

Open
nergdron opened this issue May 26, 2020 · 5 comments
Open

feature req: syslog handler #81

nergdron opened this issue May 26, 2020 · 5 comments
Labels

Comments

@nergdron
Copy link

lots of systems still rely heavily on syslog, it'd be really good for there to be a syslog aware handler. some features I'd like to see in a hypothetical handler:

  • automatically sends the correct log level
  • lets you specify the syslog facility and app name
  • defaults to a local socket connection, with a fallback to 127.0.0.1, but allows specifying a remote server
  • understands not to break log output across multiple lines, defaults to escaping newline characters in output
@tj
Copy link
Member

tj commented May 26, 2020

sounds fine to me!

@tj tj added the handlers label May 26, 2020
@nergdron
Copy link
Author

nergdron commented Jul 5, 2020

#84

@nergdron
Copy link
Author

working on using logfmt for output formatting, but ran into an upstream issue which I'll need to resolve (go-logfmt/logfmt#9).

@utdrmac
Copy link

utdrmac commented Sep 25, 2020

What's the hold up on this PR? Coming to apex from logrus since it's dead but needing good syslog support.

@nergdron
Copy link
Author

@utdrmac just waiting on a review and merge from @tj, just figured their life got busy because of The World. feel free to use my branch in the mean time I suppose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants