nium ChemInformatics
>
>
> >-Original Message-
> >From: Praveen Alavilli [mailto:[EMAIL PROTECTED]
> >Sent: Friday, November 14, 2003 2:22 PM
> >To: Log4J Users List
> >Subject: how to use env vars in log4j.properties file
> >
> >Hi
A_HOME or ${CATALINA_HOME}.
>
> Yoav Shapira
> Millennium ChemInformatics
>
>
> >-Original Message-
> >From: Praveen Alavilli [mailto:[EMAIL PROTECTED]
> >Sent: Friday, November 14, 2003 2:22 PM
> >To: Log4J Users List
> >Subject: how to
lli [mailto:[EMAIL PROTECTED]
>Sent: Friday, November 14, 2003 2:22 PM
>To: Log4J Users List
>Subject: how to use env vars in log4j.properties file
>
>Hi,
>I am trying to configure a DailyRollingFileAppender for my test app.
>I want to set the log file to be in my server's (
Hi,
I am trying to configure a DailyRollingFileAppender for my test app.
I want to set the log file to be in my server's (tomcat) log dir along
with other log files. But if set the File path as
log4j.appender.MyappLog.File=${env.CATALINA_HOME}/logs/myapp.log
it throws this error:
log4j: setFile
Dear All,
Shall I placed my log4j.properties file in web-inf/classes/properties
folder structure instead of web-inf/classes
How the system identifies these properties files ?
Thanks & Regards,
Ashok.D
Please initialize the log4j system properly.
- Original Message -
From: "William R. Kreamer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 21, 2002 1:53 PM
Subject: problem with log4j.properties file
> Hello, I've set up a class
ssage -
From: "William R. Kreamer" <[EMAIL PROTECTED]>
To: "Log4J Users List" <[EMAIL PROTECTED]>
Sent: Monday, October 21, 2002 1:55 PM
Subject: Re: problem with log4j.properties file
> oops, I actually get the following output:
>
> [wkreamer@georgi
n(String[] args) {
System.out.println(System.getProperty("log4j.configuration");
SomeClass obj = new SomeClass();
}
}
I've set up a log4j.properties file as follows:
*
log4j.rootCategory=DEBUG, Default, Chainsaw
log4j.appender.Default=org.apache.log4j.FileAppend
lt;[EMAIL PROTECTED]>
Sent: Monday, October 21, 2002 1:53 PM
Subject: problem with log4j.properties file
> Hello, I've set up a class, call it com.draper.SomeClass.
>
> package com.draper;
>
> import org.log4j.*;
>
> class SomeClass {
> private static fin
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
Pardon me for jumping in but...
Hi All
I've been lurking on this mailing list from some time but have just got
around to making use of Log4J. Can anyone help me with this problem:
After receiving the earlier email about setting up email notification I have
my log4j.properties file s
04/18/2002 01:10 PM
Please respond to "Log4J Users List"
To: Log4J Users List <[EMAIL PROTECTED]>
cc:
Subject:log4j.properties file
Is anyone willing to share their log4j.properties file which uses
SMTPAppender to send an email?
I would like to
Is anyone willing to share their log4j.properties file which uses
SMTPAppender to send an email?
I would like to send the log messages as an email.
Thanks!
Mary Jo Frey
Information Systems Specialist
Bureau of Information Technology Services
State of Wisconsin Department of Commerce
(608) 267
Hi I am using the following log4j.properties file...i am not using the
XML file.
Can I do the same changes in the properties file...
Any idea see my properties file
#Fri Apr 13 16:24:48 GMT+05:30 2001
log4j.appender.R=org.apache.log4j.RollingFileAppender
- Original Message -
From: Sivakumar <[EMAIL PROTECTED]>
To: 'Log4J Users List' <[EMAIL PROTECTED]>
Sent: Wednesday, April 17, 2002 11:24 AM
Subject: RE: Multiple Log4J.properties file
> Hi I have the same requirement...
>
> My reguirment
their lights on this..
Thanks and regards
Siva
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 9:33 PM
To: Log4J Users List
Subject: Multiple Log4J.properties file
Hi,
Can we have multiple Log4J.properties file, so few
packages use one
Hi,
Can we have multiple Log4J.properties file, so few
packages use one of them and other packages use some
other
Ashish
__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
--
To unsubscribe, e-mail
Hi, I'm new to log4j so I need some help. I put the following code into a
log4j.properties file because I want to add a new appender that I created.
log4j.rootLogger=debug, joa
log4j.appender.joa=users.jakarta.projects.JOptionPaneAppender
log4j.appender.joa.layout=org.apache.log4j.PatternL
MAIL PROTECTED]> wrote:
Where do I put the log4j.properties file for an application running underWeblogic 6.1? I've tried several locations, but have not yet had success.Thanks,Joe---Joe Loda, mpct Solutions Corporation, Chicago[EMAIL PROTECTED]
Where do I put the log4j.properties file for an application running under
Weblogic 6.1? I've tried several locations, but have not yet had success.
Thanks,
Joe
---
Joe Loda, mpct Solutions Corporation, Chicago
[EMAIL PROT
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
zer to use the same classloader to find the
>log4j.properties file as was used to load the Category class. If I make
>this change in the source of Category.java, then I can put log4j.jar in
>WEB-INF/lib and log4j.properties in WEB-INF/classes, and the static
>initialzer works for each of my
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 i
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
I know what is happening and I know how to use getResourceAsStream. It seems
to me kind of problematic and possibly confusing. To use the log4j auto
loading of properties you MUST explicitly put the log4j jars in the path and
the log4j.properties file has to be in the same directory as the jars
to u.
This is how u may not require to hard code the absolute path of the config
file.
Bye ,
Jeet.
-Original Message-
From: Hansen, Richard [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 04, 2001 11:44 AM
To: LOG4J Users (E-mail)
Subject: log4j.properties file location bug?
I don
I don't know if this is a exactly bug. But is an issue and should at least
be added to the FAQ I think. To get log4j to automatically load a properties
file I need to explicitly add the log4j jars to the classpath. Next, I must
put the properties file in the same directory as the log4j jar files.
29 matches
Mail list logo