logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From takidoso <Malte.Kem...@de.equens.com>
Subject Re: Funny behaviour of filters (second try with upload file)
Date Mon, 23 Nov 2009 11:49:56 GMT

I found out that my problem I detected was my own fault. To the time the
programm lets log4j put out the particular warning log4j is not configured
yet.
And there is my next question:
I have the situation, that i like to configure my own programme and use
log4j to put out particular configuration-problems. Since the configuartion
of my own programme also got teh filename of the log4j configuration I have
kind of of chicken-and-egg-problem (as we'd say in German)
My idea is now having a provisoric log4j configuration and using the
configured file later on.
But therefore it would be nice having a simple way of getting rid of the
first configuration, since log4j configures additively.
Is there a method like that somewhere?

thanks a lot in advance fro any good hint.


takidoso wrote:
> 
> well here my second try of loading up the configuration file, since the
> paste seems not to work properly.
> 
>  http://old.nabble.com/file/p26393678/log4j.xml log4j.xml 
> 
> First I treid it using LevelMin and LevelMax the otherway around, but then
> I did not get any logging file.
> I am using log4j Version 1.2.15
> 

-- 
View this message in context: http://old.nabble.com/Funny-behaviour-of-filters-%28second-try-with-upload-file%29-tp26393678p26476644.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message