And, there is a LOT of logging in there though. All the stuff from Struts looks like it is using log4j and i am not sure why it is going into my file.
Probably because I set it at root.
Anyway, how would I separate my logs from the Struts logs (direct mine in one file, i don't care about Struts logs)?
Also, how would I change the location of the log file?
Denis
log4j.debug=true to your java invocation. This will make log4j output internal debugging information (such as "trying to create file...") to the console.
Yoav Shapira Millennium ChemInformatics
web-----Original Message----- From: Denis Avdic [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 2:28 PM To: Log4J Users List Subject: Re: [NEWBIE] log4j setup problem?
Hrm.
Tomcat does have write access but the file is not created. I just deleted the file now, and ran the app again, and it is not creating the file.
Ideas?
Shapira, Yoav wrote:
Howdy,
So you know it reads your file. Is the log file created? Does the
Iserver user have write access to the directory (WEB-INF/classes) in which the log file needs to go?
Yoav Shapira Millennium ChemInformatics
-----Original Message----- From: Denis Avdic [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 2:18 PM To: Log4J Users List Subject: Re: [NEWBIE] log4j setup problem?
If I change the path (by cutting out classes from the path, lets say)
inget this in my Catalina log:
log4j:ERROR Could not read configuration file [/home/denis/src/resumeweb/WEB-INF/RMLog4j.properties]
If I have the classpath described below, then there is no error in Catalina log;
Shapira, Yoav wrote:
Howdy,
I have a number of classes in my web app. I instantiate my logger
anymy
init servlet with:Is the file indeed at this location? Is it readable? Do you get
PropertyConfigurator.configure(Constants.SITEPATH+"/WEB- INF/classes/RMLog4j.properties");
-intendedlog4j errors in your console log (wherever System.out/System.err messages go in your server setup)?
Yoav Shapira
This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an)
recipient, please immediately delete this e-mail from your computersystem
and notify the sender. Thank you.
--------------------------------------------------------------------
intendedcommunication, and may contain information that is confidential,To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
This e-mail, including any attachments, is a confidential business
proprietary and/or privileged. This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else. If you are not the(an)
recipient, please immediately delete this e-mail from your computersystem
and notify the sender. Thank you.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]