how to set log4j.ignoreTCL in XML config file

2003-11-21 Thread Kloeck, Erwin
Hi, I want to use log4j and junit together. I discovered that for this to work I have to set the system property log4j.ignoreTCL=true. When I do this with the -D option it works. Can I set this property in my log4jconfig.xml file as well? And if so, how would I do this. Thanks for your help ..

Re: config file reloading

2003-08-28 Thread Larry Young
Ceki, At 06:16 PM 8/28/03 +0200, you wrote: Two short comments. 1) My name is Ceki not Ciki. apologies ... mea culpa!! 2) You can use LogManager.resetConfiguration() to reset or clear the existing config before you read the new config file. I think that is exactly what I was

Re: config file reloading

2003-08-28 Thread Jacob Kjome
At 06:16 PM 8/28/2003 +0200, you wrote: Two short comments. 1) My name is Ceki not Ciki. Sorry Ceki, typo. 2) You can use LogManager.resetConfiguration() to reset or clear the existing config before you read the new config file. Ah, yes. Never bothered with that since the configuration I do

Re: config file reloading

2003-08-28 Thread Ceki Gülcü
Two short comments. 1) My name is Ceki not Ciki. 2) You can use LogManager.resetConfiguration() to reset or clear the existing config before you read the new config file. HTH, At 08:58 AM 8/28/2003 -0700, Larry Young wrote: Jake, A quick question about your past use of

Re: config file reloading

2003-08-28 Thread Jacob Kjome
ctionality which will be available in Log4j-1.3 when it comes out. Jake At 08:58 AM 8/28/2003 -0700, you wrote: Jake, A quick question about your past use of "configureAndWatch()" ... I noticed in Ciki's book that when loading a config file, only those parts of t

Re: config file reloading

2003-08-28 Thread Larry Young
Jake, A quick question about your past use of "configureAndWatch()" ... I noticed in Ciki's book that when loading a config file, only those parts of the existing configuration which are explicitly mentioned in the new config file are affected. That makes s

Re: config file reloading

2003-08-28 Thread Larry Young
Jake, Thanks for the input and warnings! I can't use the -D option when starting tomcat because each webapp (~20 of them) will each have a separate configuration file. And the InitContextListener() will only work for my webapps, but not my standalone apps. So it would seem th

Re: config file reloading

2003-08-27 Thread Jacob Kjome
Oh, and I forgot to mention setting the -Dlog4j.configuration system property which you can poll to find where log4j.xml exists. Jake At 06:09 PM 8/27/2003 -0500, you wrote: I used to use the configureAndWatch() method in my webapps, but I advise against it now. The watchdog classes currently

Re: config file reloading

2003-08-27 Thread Jacob Kjome
I used to use the configureAndWatch() method in my webapps, but I advise against it now. The watchdog classes currently have no lifecycle control. LogManager.shutdown() will *not* end the thread that the watchdog uses. If you try to reload your servlet context, the thread will continue to re

config file reloading

2003-08-27 Thread Larry Young
Hello, I was planning on using the FileWatchdog class (via DOMConfigurator) to cause my log4j.xml file to be reloaded whenever it is changed, avoiding having to bounce the webapp during debug. My problem is that I rely on the default initialization mechanism in log4j to find the file,

AsyncAppender Settings in config file?

2003-07-08 Thread Vivek Kapadekar
Hi I wrote my own appender and have wrapped it in a AsyncAppender and got it working. But i do the addition of this appender to the logger, and setting of properties inside code. Can I do this in log4j.properties ? Thanks --Viv Howdy, There's not already a PatternLayout option for thi

Re: attach appender to AsyncAppender in config file....]

2003-06-12 Thread Ceki Gülcü
The AsyncAppender cannot be set a config file in properties format. This is documented in the javadocs for PropertyConfigurator. The PropertyConfigurator does not handle the advanced configuration features supported by the DOMConfigurator such as support for Filters, custom ErrorHandlers

attach appender to AsyncAppender in config file....]

2003-06-12 Thread Vivek Kapadekar
Does someone know the trick for this? How do I attach an appender to AsyncAppender in the config file ( log4j.properties )? Thanks -Viv

attach appender to AsyncAppender in config file....

2003-06-12 Thread Vivek Kapadekar
Hi How do I attach an appender to AsyncAppender in the config file ( log4j.properties )? In general what is the semantics or a set of all valid entries that can go in the log4j.properties file? Thanks -Viv

Re: help debugging config file

2003-06-06 Thread Erik Price
Erik Price wrote: Hi, Can anyone see a problem with my log4j configuration? This exact same configuration works fine on another project, and if I change the appender to a ConsoleAppender then the output *does* get logged to stdout, but for some reason this configuration simply writes an empt

help debugging config file

2003-06-06 Thread Erik Price
Hi, Can anyone see a problem with my log4j configuration? This exact same configuration works fine on another project, and if I change the appender to a ConsoleAppender then the output *does* get logged to stdout, but for some reason this configuration simply writes an empty log file named "t

how to set the 'threshold' attrib with a customized debug level in XML config file.

2003-03-02 Thread Abramson, Rami
Hello all, Have tried to set the overall 'threshold' attribute of appenders to a customized debug level (using an XML config file). Got the following error: log4j:ERROR Attribute "threshold" with value "TRACE#com.terayon.framework.debugLogging.XLevel" must have a v

building an XML config file generator

2003-02-06 Thread Abramson, Rami
Hello, Would like to make an XML config file generator that gets different attributes from a GUI application (e.g. debug-level, string to filter) and generates a log4j XML config file. Is there an "XML generator" that upon building a tree of dependencies can generate an XML file?

RE: advantages of XML config file over the '.properties' config file

2003-02-06 Thread Shapira, Yoav
Howdy, >2> Are there disadvantages? One that actually matters to me in practice: if you use an xml config file, it has to be a separate file from others. If you use a properties config file, you can have properties for many different components (your app, log4j, castor is a common combi

advantages of XML config file over the '.properties' config file

2003-02-06 Thread Abramson, Rami
Hello, As I understand, the advantage of using the XML format config file over the '.properties' config file is the customized filtering ability. 1> Are there other advantages in favor of the XML format config file usage? 2> Are there disadvantages? 3> Is there a plan in the

Ooops: Solved, sorry: using system variables in log4j config file not recognized in tomcat

2002-12-07 Thread Holger Wiechert
olved, sorry: using system variables in log4j config file not recognized in tomcat Sorry, I should have been looking up the list first. Just found out why it doesn't work. I forgot to include the JVM property CATALINA_HOME in JAVA_OPTS: set JAVA_OPTS=%-DCATALINA_HOME=%CATALINA_HOM

Solved, sorry: using system variables in log4j config file not recognized in tomcat

2002-12-07 Thread Holger Wiechert
ECTED]] Gesendet: Samstag, 7. Dezember 2002 18:24 An: [EMAIL PROTECTED] Betreff: using system variables in log4j config file not recognized in tomcat I wonder about the reason that setting up a FileAppender using a system variable causes an initialization error for log4j when used in tomcat (Tomcat 4.1.1

using system variables in log4j config file not recognized in tomcat

2002-12-07 Thread Holger Wiechert
I wonder about the reason that setting up a FileAppender using a system variable causes an initialization error for log4j when used in tomcat (Tomcat 4.1.12). I have the log4j.properties (see below) in the classes dir (packed in the application's war file). The line: log4j.appender.RFA.File=${CATA

Re: XML Config file

2002-10-08 Thread sk k
support other levels and am getting the following > error. > > >>> > log4j:ERROR Did you forget to set the factory in the > config file? > java.lang.ClassCastException: > org.apache.log4j.Logger > at > examples.subclass.MyLoggerTest.main(My

XML Config file

2002-10-06 Thread sk k
Hi, I am trying to run the MyLoggerTest.java file under examples dir which shows the extension of log4j to support other levels and am getting the following error. >>> log4j:ERROR Did you forget to set the factory in the config file? java.lang.ClassCastException: org.apache.log

Where should I place my log4j config file

2002-09-24 Thread Arun Jannela
Hi, Can I place my log4j.lcf file any where I wish.. and set the classpath to it. Regards, Arun Jannela -Original Message- From: Ceki Gülcü [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 12:54 AM To: Log4J Users List Subject: Re[3]: log4j.jar locked by Tomcat even afte

Re: multiple categories same config file

2002-09-09 Thread Ceki Gülcü
At 14:03 09.09.2002 -0700, you wrote: >Two JVMs here are NOT using the same log file to log into, all >I'm using is the same log4j config file. Each application >initializes the log4j in its own JVM and uses its own category. > >The problem seems to be that the log4j is openi

Re: multiple categories same config file

2002-09-09 Thread J IK
Two JVMs here are NOT using the same log file to log into, all I'm using is the same log4j config file. Each application initializes the log4j in its own JVM and uses its own category. The problem seems to be that the log4j is opening all the category files which appear in the config fil

RE: multiple categories same config file

2002-09-09 Thread Ceki Gülcü
additivity has nothing to do with the problem. At 13:40 09.09.2002 -0700, you wrote: >have put it for appender also (and for bother appender and >category) but still find the other file locking. >Thank you. >-Jik (log is as follows) [snip] -- Ceki TCP implementations will follow a general pri

RE: multiple categories same config file

2002-09-09 Thread J IK
ements the additivity for appender A was null. > > Swami > > > -Original Message- > > From: J IK [mailto:[EMAIL PROTECTED]] > > Sent: September 9, 2002 3:39 PM > > To: Log4J Users List > > Subject: RE: multiple categories same config file > > >

Re: multiple categories same config file

2002-09-09 Thread Ceki Gülcü
At 11:01 09.09.2002 -0700, you wrote: >Hi All: > > >Now log4j is opening both the files aa.log and bb.log when i >just instantiate the 'aa' appender in a JVM. This is locking the >file 'bb.log' which is used by another application in a >different JVM. This is causing rollover problems etc. You ca

RE: multiple categories same config file

2002-09-09 Thread Swami Iyer
iple categories same config file > > > sorry that was a typo, categories were named as 'a' and 'b' and > their appenders as 'aa' and 'bb'. > > I have the log4j log which goes like this: > > log4j: Parsing for [root] with value=[DEBU

RE: multiple categories same config file

2002-09-09 Thread J IK
ami Iyer <[EMAIL PROTECTED]> wrote: > Can you try and rename your appender to be different than the > category name, > also try log4j.warn=true and log4j.debug=true, it will show > during the > startup what log files are going to be used and so on. > > Swami > > &

RE: multiple categories same config file

2002-09-09 Thread Swami Iyer
September 9, 2002 3:12 PM > To: Log4J Users List > Subject: RE: multiple categories same config file > > > made the changes still no help, when i start using the aa > appender the bb.log file is getting locked. I should have put > this before, am using log4j version 1.2.5

RE: multiple categories same config file

2002-09-09 Thread J IK
made the changes still no help, when i start using the aa appender the bb.log file is getting locked. I should have put this before, am using log4j version 1.2.5 and this is on Windows 2000. my config file now reads as follows: log4j.rootCategory=DEBUG, Log2Console # Log2Console is set to be a

RE: multiple categories same config file

2002-09-09 Thread Swami Iyer
gt; Subject: RE: multiple categories same config file > > > Your root category says that WARN will appear in the console, > hence your > debugging may not appear in the console. > > Swami > > > -Original Message- > > From: J IK [mailto:[EMAIL PROTECTED]]

RE: multiple categories same config file

2002-09-09 Thread Swami Iyer
MAIL PROTECTED]] > > > Sent: September 9, 2002 2:01 PM > > > To: [EMAIL PROTECTED] > > > Subject: multiple categories same config file > > > > > > > > > Hi All: > > > > > > Following is my configuratio

RE: multiple categories same config file

2002-09-09 Thread Daniel Serodio
k using the additivity flag will avoid the log4j in > > opening both the > > files. > > > > Swami > > > > > -Original Message- > > > From: J IK [mailto:[EMAIL PROTECTED]] > > > Sent: September 9, 2002 2:01 PM > > &

RE: multiple categories same config file

2002-09-09 Thread J IK
the additivity flag will avoid the log4j in > opening both the > files. > > Swami > > > -Original Message- > > From: J IK [mailto:[EMAIL PROTECTED]] > > Sent: September 9, 2002 2:01 PM > > To: [EMAIL PROTECTED] > > Subject: multiple categories s

RE: multiple categories same config file

2002-09-09 Thread Swami Iyer
I think using the additivity flag will avoid the log4j in opening both the files. Swami > -Original Message- > From: J IK [mailto:[EMAIL PROTECTED]] > Sent: September 9, 2002 2:01 PM > To: [EMAIL PROTECTED] > Subject: multiple categories same config file > > >

multiple categories same config file

2002-09-09 Thread J IK
a JVM. This is locking the file 'bb.log' which is used by another application in a different JVM. This is causing rollover problems etc. I can eliminate the problem by using two different log4j config files and by listing different appender properties in those two but I want to avoid that and

Reading properties from config file other than log4j.properties?

2002-08-28 Thread Jason Rizer
Hello, I'm just beginning to incorporate log4j into a J2EE Resource Adapter I'm writing. My project already has a configuration property file (lyConfig.properties) from which I gather various configuration parameters at startup. Rather than adding log4j.properties to my environment I'd like to

RE: Example of variable substitution in an XML formatted config file

2002-08-20 Thread Thomas Muller
DOMConfigurator supports rudimentary variable interpolation. Variables found in the System properties can be used in the XML config file like this: Hope this helps. -- Thomas | -Original Message- | From

Example of variable substitution in an XML formatted config file

2002-08-20 Thread Luc_Bell
I am using the DOMConfigurator, and would like to make use of the variable substitution available to Log4J. Does anyone have an XML example of this? The book only has a log4j.properties file example, and I do not know the XML syntax. I get SAXParser errors... Luc -- To unsubscribe

Re: Get All Appenders defined in the config file

2002-07-16 Thread Ceki Gülcü
ecified in the xml file but not used. Getting the appenders mentioned in a config file but otherwise unused is not possible. >Jens Koch -- Ceki -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Get All Appenders defined in the config file

2002-07-16 Thread Jens Koch
: 11.07.2002 Subject: Get All Appenders defined in the config file 14:50

Get All Appenders defined in the config file

2002-07-11 Thread Jens Koch
Subject: Get All Appenders defined in the config file 13:46

RE: Custom property for filepath in Config. file

2002-06-11 Thread Sridharan Vembu
-Original Message- From: Hein Meling [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 09, 2002 10:04 PM To: Log4J Users List Subject: Re: Custom property for filepath in Config. file Ciao, If you use the "ant" build tool, you can specify the -D options quite easily in the

RE: Re[4]: Logging while initializing config file question...

2002-06-10 Thread Marvin Chase
your config file: won't be read until you configure your log system, but the error and warn methods do not check this property in the config, so warn and error messages should show up. -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 7:03

Re[4]: Logging while initializing config file question...

2002-06-10 Thread Jacob Kjome
Hello Marvin, hmmm I have my log4j.xml config file set up like: I see all of log4j's internal statements, but I don't see any LogLog.debug(String) statements being printed out at all (that were being printed out before when I used System.out.println(), so I know I should be

RE: Re[2]: Logging while initializing config file question...

2002-06-10 Thread Marvin Chase
Subject: Re[2]: Logging while initializing config file question... Thanks, that is good information that I didn't know. However, what if I want to put out my own messages within my init servlet. This is before any calls to configure(). I do a bunch of checking to make sure that file

Re[2]: Logging while initializing config file question...

2002-06-10 Thread Jacob Kjome
f the filesystem or directly from a .war file. In that case, is my only option System.out.println(String)? Jake Monday, June 10, 2002, 1:11:53 PM, you wrote: TTM> Assuming that you're using XMLConfigurator, you can use the following TTM> adjuration in your config file: TTM>

RE: Logging while initializing config file question...

2002-06-10 Thread Thomas Tuft Muller
Assuming that you're using XMLConfigurator, you can use the following adjuration in your config file: This will cause Log4j to issue log statements to System.out during initialization and at some other occasions (e.g. when files roll etc). Error messages will be dumped to Syste

RE: Logging while initializing config file question...

2002-06-10 Thread Swami Iyer
st > Subject: Logging while initializing config file question... > > > > What does one do during configuration of Log4j? For instance, when > one calls PropertyConfigurator.configure(file) or > PropertyConfigurator.configureAndWatch(file), what kind of logging is > avail

Logging while initializing config file question...

2002-06-10 Thread Jacob Kjome
What does one do during configuration of Log4j? For instance, when one calls PropertyConfigurator.configure(file) or PropertyConfigurator.configureAndWatch(file), what kind of logging is available to see what is happening during this? Do you just bite but bullet and do System.out.println(String

Re: Custom property for filepath in Config. file

2002-06-09 Thread Hein Meling
Ciao, If you use the "ant" build tool, you can specify the -D options quite easily in the build.xml file, and you wouldn't have to retype it for every run. See below for an example of passing -D options to an application that can be started through an ant target, 'execdaemon'. Otherwise, th

Custom property for filepath in Config. file

2002-06-07 Thread Sridharan Vembu
Hi, Could anybody please guide on how to have a propertykey set to a value of the file destination in the configuration file. I mean, in the value for . How can I define this in my configuration file or through my application.I dont want to use the -D option from the console. Would highly

Re: Missing appenders with config file

2002-05-28 Thread Ceki Gülcü
At 13:34 28.05.2002 +0200, Henriksen Niels Kristoffer wrote: >Does it matter if configuration is made AFTER getLogger calls? (Of course, >config must be done before actual logging). No, it does not matter. You can configure after getLogger calls. To avoid the dreaded "log4j:WARN No appenders cou

Missing appenders with config file

2002-05-28 Thread Henriksen Niels Kristoffer
Hi all! I have this scenario: I have wrapped the Logger class into a class of my own (because I will need to do some formatting of messages to be logged): public class SBLogger { private Logger logger; public SBLogger(String name) { logger = Logger.getLo

NEWBIE PROBLEM: Inheritence in property config file

2002-04-08 Thread Jeff Epstein
I am an experienced Java programmer, but am new to log4j. I'm confused as to why I'm getting this error (error output and code below). I understand that naming conventions for "inheritence" of loggers should be the same as your class heirarchy. Hence: com.foo and com.foo.Bar. But I'm getting

Config-File

2002-04-05 Thread Bouquet, Marc
hich writes all LoggingEvents to the Appenders, which are added to the BufferedAppender. This works fine, as long as we configure everything in the Sourcecode(hardcoded). The problem raises if we want to use a config-File. We don't know how to add an Appender to our BufferedAppender in a Config

Re: Config-File

2002-04-04 Thread Ceki Gülcü
pender. >This works fine, as long as we configure everything in the >Sourcecode(hardcoded). >The problem raises if we want to use a config-File. We don't know how to >add an Appender to our BufferedAppender in a Config-File. We would have >the same problem with the AsyncAppen

Config-File

2002-04-04 Thread Bouquet, Marc
hich writes all LoggingEvents to the Appenders, which are added to the BufferedAppender. This works fine, as long as we configure everything in the Sourcecode(hardcoded). The problem raises if we want to use a config-File. We don't know how to add an Appender to our BufferedAppender in a Config

RE: repeat question - dynamic monitoring of config file

2002-03-12 Thread Mark Womack
al Message- From: Chris Lambert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 9:50 AM To: [EMAIL PROTECTED] Subject: repeat question - dynamic monitoring of config file I remember hearing someone ask about auto-reloading of changes to the config file, but I can't seem to find it

repeat question - dynamic monitoring of config file

2002-03-12 Thread Chris Lambert
I remember hearing someone ask about auto-reloading of changes to the config file, but I can't seem to find it in the archive. could someone please refresh my memory as to how this is possible? thanks. chris -- - --- -- - --- -- - Christ

RE: need sample config file

2002-03-08 Thread Nicole Grübel
on't go to any other appender than its own. Do the same for app2Log, in the according way. I'm not sure about the syntax for the simple config-file (I'm using XML). But I guess you need lines like those: log4j.category.app1Log = LogFile1 log4j.category.app1Log.Additivi

need sample config file

2002-03-08 Thread Joel Patthey
en write to the logger called app1Log and then Category.getInstance("app2Log") which will write to the logger app2Log. Anyone has setup a config file managing this ? Thanks in advance

Where does config file need to be in J2EE application?

2002-01-24 Thread Sara Prigge
Where does my XML properties file need to be in my J2EE application? When I run the application locally on my own machine (while developing) I have the properties file in my project's root directory and it finds it without any problem. If I put the file anywhere else it cannot be found. I read

RE: Problem using XML config file

2002-01-16 Thread BLasch
rigge .com>cc: Subject: RE: Problem using XML conf

RE: Problem using XML config file

2002-01-15 Thread Sara Prigge
Users List' Subject: RE: Problem using XML config file Thanks - there were a few other minor syntax problems. I fixed those. Now, I'm getting another strange error. I have the following method (in a class called Logging): public void doPreLog(int level, String msg, String

RE: Problem using XML config file

2002-01-15 Thread Sara Prigge
o create the Category object. It has nothing to do with the database items. A regular text config file worked fine with a JDBC Appender. I just changed the format to XML for the XML config file.

RE: Problem using XML config file

2002-01-15 Thread Klaus Mueller
Hi, this line contains to much spaces: http://jakarta.apache.org/log4j/";> Should look like: http://jakarta.apache.org/log4j/";> But there can be more problems I do not see. Bye Klaus -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Problem using XML config file

2002-01-15 Thread Millard, Ray
Remove the space after xmlns: in the tag http://jakarta.apache.org/log4j/";> > -Original Message- > From: Sara Prigge [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, January 15, 2002 11:58 AM > To: '[EMAIL PROTECTED]' > Subject: Prob

Problem using XML config file

2002-01-15 Thread Sara Prigge
Hi- I've been using log4j with a text config file and would now like to switch to an XML config file. I'm running into some problems - I don't think my XML file is being parsed.? Here is the relevant portion of my code: [] import org.apache.log4j.xml.

RE: Config file formats

2002-01-03 Thread Jon Skeet
> Hello there. I am a newbie to Log4J, but am an experienced Java > developer. Can somebody direct me to the documentation on the > log4j.properties file format? I have searched through the API > documentation and cannot find anything. The documentation on how to > configure Log4J using config fil

Config file formats

2002-01-02 Thread Christopher Randall
Hello there. I am a newbie to Log4J, but am an experienced Java developer. Can somebody direct me to the documentation on the log4j.properties file format? I have searched through the API documentation and cannot find anything. The documentation on how to configure Log4J using config files is spar

Re: Problem referencing custom appender class in XML config file

2001-11-20 Thread Scott . Kay
cc: (bcc: Scott Kay/SYBASE) Subject: Problem referencing custom appender class in XML config file

Problem referencing custom appender class in XML config file

2001-11-20 Thread Scott . Kay
appender class which is working fine when created and attached explicitly in the start() method of my LogService service component in my appserver. Here's my sa

RE: Aliased component names? fixed! - Custom appenders in config file??

2001-11-16 Thread Scott . Kay
> I am pulling my hair out trying to figure out why I am getting incorrect > component names when logging with Log4j. The log starts out OK and > then I start to get incorrectly identified component in the log. My basic > design creates a single category as shown: OK, mea culpa(doh!) - I inadve

Re: how tdo u set the daily rolling file appender in xml config file

2001-08-23 Thread Don Taylor
Try All you needed to do was specify the DailyRollingFileAppender and set the datePattern property to when you want the rollover. This particular datePattern will rollover daily like you want. -- Don --- pradeep <[EMAIL PROTECTED]> wrote: > hi guy i need to have a rollover file created at

how tdo u set the daily rolling file appender in xml config file

2001-08-22 Thread pradeep
hi guy i need to have a rollover file created at the end of each day.im using DomConfigurator with xmlconfig file could u suggest me how to achieve that .i know that i need to use DailyRollingFileAppender thx pradeep. here is my java code: strXmlfile=ResourceManager.getResource(LOG_FILE_L

how do u set the daily rolling file appender in xml config file

2001-08-22 Thread pradeep
hi guy i need to have a rollover file created at the end of each day.im using DomConfigurator with xmlconfig file could u suggest me how to achieve that .i know that i need to use DailyRollingFileAppender thx pradeep. here is my java code: strXmlfile=ResourceManager.getResource(LOG_FILE_L

RE: config file

2001-08-20 Thread Thomas Tuft Muller
file | | | Hello, | | Can we have a single config file to append log | details | of the different classes to different log files? | -- Thomas * Copyright ERA Technology Ltd. 2001. (www.era.co.uk). All rights reserved

config file

2001-08-18 Thread indu ss
Hello, Can we have a single config file to append log details of the different classes to different log files? __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com

RE: How to configure more than 1 config file ?

2001-08-17 Thread Mark Womack
really works well when there is just one watcher. -Mark -Original Message- From: Chien Wei Tan [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 16, 2001 8:52 PM To: LOG4J Users Mailing List Subject: How to configure more than 1 config file ? Hi, Is there a way to use PropertyCo

RE: Specifying config file reload interval in config file itself?

2001-08-17 Thread lreeder
a Property or DOM configurator to be sure your config file is reloaded. -Larry On Thu, 16 Aug 2001, Mark Womack wrote: > I got a chance to play with this today, and enclosed is a new file and some > patches that implement this. GenericFileWatchdog.java should go in the > org/a

How to configure more than 1 config file ?

2001-08-16 Thread Chien Wei Tan
Hi, Is there a way to use PropertyConfigurator to .configureAndWatch more than 1 config file??? eg. if i have MyConfigFile1.lcf, MyConfigFile2.lcf, MyConfigFile3.lcf, how can i configureAndWatch them all? chienwei - To

RE: Specifying config file reload interval in config file itself?

2001-08-16 Thread Mark Womack
ting it better. Please review and comment. I think this is a neat feature and would like to work to get it into log4j if there is sufficient interest. -Mark -Original Message- From: Mark Womack Sent: Wednesday, August 15, 2001 11:12 AM To: 'LOG4J Users Mailing List' Subject: RE

RE: Specifying config file reload interval in config file itself?

2001-08-15 Thread Mark Womack
folks think? -Mark -Original Message- From: Mark Womack Sent: Wednesday, August 15, 2001 10:49 AM To: 'LOG4J Users Mailing List' Subject: RE: Specifying config file reload interval in config file itself? Larry, the DOMConfigurator lets you call configureAndWatch() as well.

RE: Specifying config file reload interval in config file itself?

2001-08-15 Thread Mark Womack
: Wednesday, August 15, 2001 10:18 AM To: [EMAIL PROTECTED] Subject: Specifying config file reload interval in config file itself? I know you can use the log4j API call PropertyConfigurator.configureAndWatch to set a check/reload interval for the config file. Is there a setting you can put in the config

Specifying config file reload interval in config file itself?

2001-08-15 Thread Larry Reeder
I know you can use the log4j API call PropertyConfigurator.configureAndWatch to set a check/reload interval for the config file. Is there a setting you can put in the config file that will specify how often it should be checked for changes, so that default initialization will check and reload

Re: Problem with log4j not finding config file in WEB-INF/classes

2001-08-03 Thread William Jaynes
44 AM Subject: Problem with log4j not finding config file in WEB-INF/classes > Hi Folks > > I need a little help. I am running tomcat and have a servlet which uses > the log4j library. I have placed the configuration file > > log4j.properties --(0) > >

Re: Problem with log4j not finding config file in WEB-INF/classes

2001-08-02 Thread Tony
To: "LOG4J Users Mailing List" > <[EMAIL PROTECTED]> > Reichenbach/CAM/Lotus) > one.net>

Problem with log4j not finding config file in WEB-INF/classes

2001-08-02 Thread Tony
Hi Folks I need a little help. I am running tomcat and have a servlet which uses the log4j library. I have placed the configuration file log4j.properties --(0) for log4j in the WEB-INF/classes --(1) directory of my application, but when I call PropertyConfigurator.configur

Re: how to specify non-standard Priority level in xml config file?

2001-07-18 Thread Jay Riddell
Wednesday, July 18, 2001 10:55 AM Subject: Re: how to specify non-standard Priority level in xml config file? > I have a similarly extended/non-standard Priority (called NOTIFY). > > I am h

Re: how to specify non-standard Priority level in xml config file?

2001-07-18 Thread Jay Riddell
- From: "Mike Papper" <[EMAIL PROTECTED]> To: "LOG4J Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, July 17, 2001 9:57 PM Subject: Re: how to specify non-standard Priority level in xml config file? > ok WERE DONE FOR NOW THAT FIXED IT. wAS THIS ANOTHER

Re: how to specify non-standard Priority level in xml config file?

2001-07-18 Thread Mike Papper
2001 9:39 AM Subject: Re: how to specify non-standard Priority level in xml config file? Mike, Add the following method to com.yaga.logger.CritPriority. Your custom priority should then work as expected. Regards. Ceki public static Priority toPriority(String sArg, Priority defaultValue) {

Re: how to specify non-standard Priority level in xml config file?

2001-07-17 Thread Ernie Parker
riority level in xml| | config file? | >-| Here is what I see: - log4j: Appender [logx] to be rolled on top of every hour. log4j: Attaching appender nam

Re: how to specify non-standard Priority level in xml config file?

2001-07-17 Thread Ceki Gülcü
--- Original Message ----- >From: "Ceki Gülcü" <[EMAIL PROTECTED]> >To: "LOG4J Users Mailing List" <[EMAIL PROTECTED]> >Sent: Monday, July 16, 2001 11:03 PM >Subject: Re: how to specify non-standard Priority level in xml config file? > > > >Mike,

Re: how to specify non-standard Priority level in xml config file?

2001-07-17 Thread Mike Papper
PROTECTED]> Sent: Monday, July 16, 2001 11:03 PM Subject: Re: how to specify non-standard Priority level in xml config file? Mike, No this means that there is something wrong with your priority class. Send it over. At 20:00 16.07.2001 -0700, Mike Papper wrote: >Here is what I see: > >

  1   2   >