5
votes
2answers
177 views

Is it fine to use logs in the Helper Methods?

I have been doubting for a long time whether or not to have a logger in methods (usually helper methods) like the one below. Whether we can print it in the method or print the response where the ...
0
votes
1answer
87 views

What factors should I consider when logging a (JSF) web-app?

I've recently read the article The Problem with logging and was wondering about my current logging strategy. Usualy I use Log4J in my projects and just have to decide which line/attributes I would ...
5
votes
3answers
8k views

SLF4J vs LOG4J Which one to prefer?

I have seen this question but does not answer me. It have a brand new project . I have almost always used Log4J but now I am seeing SLF4J making some waves.What is it that Log4J could not do and we ...