Logging from Your Java Applications By @Logentries | @DevOpsSummit [#DevOps]
Log data provides the most granular view into what is happening across your systems, applications, and end users. Logs can show you where the issues are in real-time, and provide a historical trending view over time. Logs give you the whole picture.
In a previous post I described how you can log from your java applications to Logentries using log4j and logback with our open source le_java repository on github. Well now thanks to github user joshuadavis you can now log from log4j2 too!
See our product documentation on how to get started with le_java and log4j2, and here is theapache documentation for log4j2.
Using log4j2 has some benefits over log4j, and is quite easy to transition to from log4j using the log4j 1.x bridge, which simply involves changing your log4j dependency to log4j2's log4j-1.2-api.jar. There are some limitations on this method which are described in full here on the log4j2 migration documentation.
Subscribe to Applenews247.Com Newsletter