Member since
02-17-2017
2
Posts
1
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1370 | 02-17-2017 09:36 AM |
02-17-2017
09:36 AM
1 Kudo
This works actually, by placing the .jar file into the lib and the lib/bootstrap folder and then just applying the changes to the logback.xml like usually. <appender name="GELF" class="de.siegmar.logbackgelf.GelfUdpAppender">
<graylogHost>ip</graylogHost>
<graylogPort>12201</graylogPort>
</appender>
I am using de.siegmar:logback-gelf/1.0.3.
Issue resolved for me.
... View more
02-17-2017
09:16 AM
Hi, in order to log errors and stacktraces to Graylog2 I had the following intention - manually put the https://github.com/Moocar/logback-gelf as a jar into the nifi dir - add the jar to the classpath - change the logback config and add the gelf-appender. Now, nifi.sh is only loading the bootstrap process that runs nifi. So adding the jar to the cp there is no help. Any idea how I can achieve the effect without touching the nifi source and compile myself? Thanks for the help! John
... View more
Labels:
- Labels:
-
Apache NiFi