-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
New syslog writer #156
Comments
Hello! If there's no one working on this I could try to do this -- I'm not quite familiar with the code though so any steps I should go to get started in the right direction? |
Hi Any, Firstly, you will need a JDK 9 for building tinylog: https://github.com/pmwmedia/tinylog#build-tinylog All existing writers can be found here: tinylog-impl/src/main/java/org/tinylog/writers There is also a manual how to create new writers: https://tinylog.org/v2/extending/#custom-writer I hope these three steps are helpful for implementing the writer. Cannot await your pull request! Please let me know if I can support you somehow. |
Will JDK 11 also work or does it have to be JDK 9? I currently have JDK 11 and I don't want to install another one unless it's totally necessary. It says "Newer JDKs cannot compile legacy code" but in my experience usually I don't run into issues. |
For extracting stack trace information on runtime, tinylog 2 uses An alternative would be implementing the new syslog writer directly for tinylog 3. This new version of tinylog uses method handles instead of deprecated |
Alright, thank you very much! |
Hello, |
You need to fork tinylog. Afterwards you can push your changes to the branch v2.7 or v.3.0 of your fork. When you are done, you can create a pull request here in this project and choose your fork as base. |
Hello,
I think there is no feature in tinylog to send logs to a remote syslog server like other logging frameworks. If there a way to send to syslog by using another appender/binding or is it hard to add something like a syslogappender? Thank you.
The text was updated successfully, but these errors were encountered: