While moving our current logging to use SLF4J (with log4j) I found that it won't log to the appender for commons-logging in my appache server. When it hits the commons logging (this specific example ...

I have a Web Application delpoyed to the Tomcat Server. It has to log something to a file. When I do the same from a standalone application, it works (logs to file, to console, whatever), but nothing ...

I did some research and found out sfl4j with logback is better than log4j. However, my question is how do find out which class and method got executed using slf4j ? Is it possible to print(log) the ...

I'm not sure I'm able to ask this question here, if I can't I appologize.
I'm creating simple class which will connect to database and I want to log the exceptions into file. My question is should I ...

I've been using log4j for some time. One thing I've never really understood is why they recommend configuring the logger name from the class. Specifically, I wonder:
What is the difference the three ...

I know how to log Hibernate queries using log4j but I want to create my own logger that log the hibernate queries and its values. I've some special requirement so I can't use existing logger available ...

I am working on Grails application with resources plugin and Log4j for logging. I want to disable logging from resources plugin as it's not useful for me and just filling my logging file with useless ...

I have project "A" which includes log4j.jar (log4j version 1.2).
I export this project "A" as A.jar.
When someone have log4J updated version (1.2.17) and he imports my A project (import A.jar) , he ...

We are running Weblogic 11gR1 (10.3.5) and have multiple application running on the domain. One of the applications is an application from a vendor and they have it set up to pass in the location of ...

We have a Java application running on a CentOS server running JRE 6 which does some logging to System.out and to three log files (info, warning and errors). We have used log4j for months now and never ...

I working on java web-application. It supposed to use log4j. According to standard maven directory layout I placed log4j.xml to
src\main\resources\log4j.xml
Then I added the following lines into my ...

For the last hours I've tried to configure and use a custom logger using log4j in my SoapUI project. Generally my logging works without any problems, but I assume that log4j has some nice features, ...

I have used java at the back end and J query, html on front end.. I need to show on my web page some information regarding in which java page the process is currently running...i have used log 4 j to ...

Following jar files are kept in lib folder tomcat-juli-adapter.jar,java-mail-1.4.4.jar,log4j-1.2.16.jar,smtp-1.4.4jar.
and tomcat-juli.jar in bin folder.
I am able to see catalina as well as localhost ...