I know there are no stupid questions, but this one feels stupid. I am trying to use the commons-logging API in a
servlet, and can't figure out where the log is written.
Here is part of my code
Although I don't think this was really necessary, I created a commons-logging.properties file with a single keyword in it:
And I created a log4j.properties with a single keyword in it:
I have tried varying the "/" characters to "\" since I am running
Tomcat 6.0 on my Windows XP system. I have looked for the log in d:\temp\mylog.log, and also in the C:\Program Files\Apache Software Foundation\Tomcat 6.0\logs folder. I can't find the log!
My program compiles with no problem and the servlet runs and displays results (it updates and displays data from a MySQL database; the code for that part is not shown above).
Any ideas as to where that pesky log is (or what it is called by default, in the absence of my attempt at overriding the default) would be appreciated.