Quantcast
Channel: Reza's Weblog
Viewing all articles
Browse latest Browse all 50

Logging Tips

$
0
0

I noticed a lot of enhancement in production environment performance when we turn the logging from debug to info. Another best practice is this piece of code:

if (loger.isDebugEnabled()) {
    loger.debug(“...”);
}
There are other nice methods of logging i.e. using log5j, bytecode manipulation in jdk5,...


Viewing all articles
Browse latest Browse all 50

Trending Articles