This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
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.