Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Provide Graylog2 support #339
The simplest way to get Wisdom logs sent to a Graylog 2 server is to use the https://github.com/Moocar/logback-gelf appender.
First, to test your configuration, you need to get a Graylog 2 server running. If you use docker, then this does the job:
In the rest of this post,the mapping are:
Adding the appender to the Wisdom server classpath
Use the maven-dependency-plugin to add two artifacts to
We know need to configure the logger with the new appender.
Then add the following appender:
Once added, don't forget to add it to the appender list:
That's all, you just have to repackage your application:
and then, launch the application with the Graylog support with:
The log messages are sent to the graylog server.