thanks for your help!
I'm already using the log4j.properties file to configure log4j. But i
need to use some filters for what I'm doing now. What i want to do is,
use the .properties file to configure all appenders except for ones that
need to do some filtering. The thing is... i cant meddle with the
logging implementation... i need to be able to plug-in whatever i do to
a given application.
Is this possible?





On Tue, 2008-11-18 at 00:43 -0600, Curt Arnold wrote:
> On Nov 17, 2008, at 11:36 PM, Dulanjanie wrote:
> 
> >
> > --  
> >
> > Hi,
> > Is there a way we can use both the log4j.xml file and the
> > log4j.properties file?
> > cant seem to find an answer to that...
> > thanks!
> >
> The default configuration strategy will load log4j.xml preferentially  
> over log4j.properties.  However, you could come up with arbitrary  
> behaviors if you explicitly configured log4j.  Calls to configurators  
> are cumulative (unless reset is specified in the file), so you could  
> call PropertyConfigurator.configure() and then  
> DOMConfigurator.configure().
> 
> Could you describe what you are trying to accomplish?
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
-- 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to