RE: how to use env vars in log4j.properties file

2003-11-14 Thread Jacob Kjome
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

RE: how to use env vars in log4j.properties file

2003-11-14 Thread Praveen Alavilli
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

RE: how to use env vars in log4j.properties file

2003-11-14 Thread Shapira, Yoav
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 (

how to use env vars in log4j.properties file

2003-11-14 Thread Praveen Alavilli
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

log4j.properties file Location

2003-05-29 Thread ashokd
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

Re: problem with log4j.properties file

2002-10-21 Thread William R. Kreamer
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

Re: problem with log4j.properties file

2002-10-21 Thread William R. Kreamer
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

problem with log4j.properties file

2002-10-21 Thread William R. Kreamer
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

Re: problem with log4j.properties file

2002-10-21 Thread donald larmee
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

RE: log4j.properties file

2002-04-22 Thread Pounder, Anthony
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

RE: log4j.properties file

2002-04-19 Thread Frey, Mary Jo - COMM
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

RE: log4j.properties file

2002-04-19 Thread Pounder, Anthony
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

Re: log4j.properties file

2002-04-18 Thread james . snyder
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

log4j.properties file

2002-04-18 Thread Frey, Mary Jo - COMM
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

RE: Multiple Log4J.properties file

2002-04-17 Thread Sivakumar
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

RE: Multiple Log4J.properties file

2002-04-17 Thread Raúl Carazo
- 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

RE: Multiple Log4J.properties file

2002-04-17 Thread Sivakumar
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

Multiple Log4J.properties file

2002-04-16 Thread Ashish Kulkarni
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

Log4j.properties file

2002-02-14 Thread Gunter, Geary
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

Re: log4j.properties file location in Weblogic 6.1

2001-09-11 Thread Ganapathi Raman
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]

log4j.properties file location in Weblogic 6.1

2001-09-10 Thread Loda, Joe
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

Re: log4j.properties file location bug?

2001-05-09 Thread Robert Burrell Donkin
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

Re: log4j.properties file location bug?

2001-05-08 Thread Scott M Stark
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

Re: log4j.properties file location bug?

2001-05-07 Thread Ceki Gülcü
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

RE: log4j.properties file location bug?

2001-05-07 Thread Shunhui Zhu
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

Re: log4j.properties file location bug?

2001-05-07 Thread William Jaynes
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

RE: log4j.properties file location bug?

2001-05-04 Thread Hansen, Richard
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

RE: log4j.properties file location bug?

2001-05-04 Thread Jeet Marwah
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

log4j.properties file location bug?

2001-05-04 Thread Hansen, Richard
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.