Category: Logging

How to enable garbage collection logging (GC logs) in Apache tomcat

In this article I’ll provide information about how to enable garbage collection logging (GC logs) in Apache tomcat. GC logs are very important when you are debugging an application. GC logs helps to analyse how your program uses the memory. GC logs also helps to find how often garbage collector cleans the memory for unused objects. …

Continue reading

Send error logs through email using log4j SMTP appender

recently I was reading about Apache log4j appenders. and found log4j SMTPAppender which sends an e-mail when a specific logging event occurs, typically on errors or fatal errors. That time I got idea to write this post to send error logs through email using log4j SMTP appender. for a developer error logs are very important. and …

Continue reading

%d bloggers like this: