On Jan 3, 2005, at 12:46 PM, Johnny Gonzalez wrote:

Hello,

I still have no success with log4j. I downloaded
1.2.9, and renamed my configuration file to
log4j.properties but it's not creating any log in the
log files. What can be wrong?

- I'm using eclipse 3.0.
- I tryed with the log files in the same directory of
my configuration file but doesn't work.
- my log4j.properties is into the root of the project
- my log4j configuration file looks like this:


You might check the working directory for your Debug or Run configuration to see if it is set to the location of your log4j.properties file. Select Run/Run... or Run/Debug... from the Eclipse menu and then select the "Arguments" pane. If that looks okay, you could try explicitly stating the location of the configuration file by adding -Dlog4j.configuration=FILENAME to the VM arguments.



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to