logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ricardo Trindade <ricardo.trind...@emation.pt>
Subject Re: disabling autoconfiguration
Date Mon, 15 Nov 2004 14:26:34 GMT
Thanks,

    Could I suggest it for a future version, then ? Libraries sometimes 
bundle these files, making it hard to do custom log4j configs.

thanks,
Ricardo

Ceki Gülcü wrote:

> At 01:38 PM 11/15/2004, Ricardo Trindade wrote:
>
>> Hi,
>>
>>    Is there a way to disable the automatic configuration ?
>
>
> No there is not. If there is a config file named log4j.xml or 
> log4j.properties, the former file having priority over the latter,  
> log4j assumes that the user wants automatic configuration as otherwise 
> the user would not have included those files with the application.
>
>>    I looked in the faqs, but couldn't find it. My problem is that 
>> some libs I use bundle log4j.properties (for example jboss client).
>
>
> You can either ask JBoss to not bundle the log4j.properties file. 
> Alternatively, you could either remove or rename the file yourself.
>
>> thanks
>> Ricardo
>
>


---------------------------------------------------------------------
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