I have implemented log concept in my j2ee(Struts) project and using web sphere 5.1 server.
For example i am using the statement like
The code example i am using for displaying the log message is
My code compiled successfully and server started.
But while doing any changes in my application why i am not getting the log file where this message i should find for debugging purpose.
Should i do any setup or include any jar file for the needful.I have already included the log4j-1.2.9.jar.
If you're using Log4J then you'll want either a log4j.properties (easier) or log4j.xml (a bit more versatile) configuration file on the classpath. See the Log4J documentation for configuration file content details.