high.
Thanks again.
AP
-Original Message-
From: Frey, Mary Jo - COMM [mailto:[EMAIL PROTECTED]]
Sent: 19 April 2002 18:24
To: 'Log4J Users List'
Subject: RE: log4j.properties file
I found that only fatal and error priority constaints generate an e-mail.
It does not matte
age-
> From: Pounder, Anthony [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, April 19, 2002 9:49 AM
> To: 'Log4J Users List'
> Subject: RE: log4j.properties file
>
> Pardon me for jumping in but...
>
> Hi All
> I've been lurking on this mailing list
ess?
Cheers
Anthony Pounder
Nottingham - UK
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 18 April 2002 20:26
To: Log4J Users List
Cc: [EMAIL PROTECTED]
Subject: Re: log4j.properties file
Good Luck. Just replace the To, Host, and From with your valid entries.
Good Luck. Just replace the To, Host, and From with your valid entries.
log4j.rootCategory=info, A1, SMTPTest
# A1 writes to the file "ldh".
log4j.appender.A1=org.apache.log4j.DailyRollingFileAppender
log4j.appender.A1.File=e:\\ldh\\ldh.log
log4j.appender.A1.layout=org.apache.log4j.PatternLayou
Hi Joe,
Try this:
Add the following in ur startWeblogic.cmd(assuming u work on NT)..
-Dlog4j.configuration=c:/log4j.properties
Once this is done ur weblogic start command will look like
"%JAVA_HOME%\bin\java" -hotspot -ms64m -mx64m -classpath %CLASSPATH% -Dlog4j.configuration=c:/log4j.properties -
Scott M Stark wrote:
> Using a file resource in a web-app descriptor means that one has to potentially
> change the file property for each deployment. Its much easier to be able to load
> the log4j.properties as a resource from the classpath than a file imho.
if you're using a 2.3 complaint cont
Using a file resource in a web-app descriptor means that one has to potentially
change the file property for each deployment. Its much easier to be able to load
the log4j.properties as a resource from the classpath than a file imho. You
also may not even have access to a file system because loggin
At 12:29 07.05.2001 -0400, you wrote:
>I find that if I (1) write a little test program and run it from a
>command line, and (2) use the log4j static initializer, and (3) the
>log4j.jar file is in the jre/lib/ext directory, then the
>log4j.properties file is found no matter where it is as long a
Title: RE: log4j.properties file location bug?
I have been using log4j with Tomcat (and Struts), I've beeen putting log4j.jar in
the WEB_INF/lib and log4j.properties in WEB-INF/classes directories, and haven't
had any problems.
Shunhui
-Original Message-
From: Will
I find that if I (1) write a little test program and run it from a
command line, and (2) use the log4j static initializer, and (3) the
log4j.jar file is in the jre/lib/ext directory, then the
log4j.properties file is found no matter where it is as long as it is
in a directory that is on the clas
ers Mailing List'
> Subject: RE: log4j.properties file location bug?
>
>
> Hi ,
> What u have done is right? The reason is that u must be using
> the Properties
> class and must be passing the obj to the log4j configurator.
>
> U can put ur config file in any fold
Hi ,
What u have done is right? The reason is that u must be using the Properties
class and must be passing the obj to the log4j configurator.
U can put ur config file in any folder that u want and if u are using the
Properties class , the following things can be done:
1) set the classpath to tha
12 matches
Mail list logo