logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail T." <mi+t...@aldan.algebra.com>
Subject Re: Separating some classes' messages from <root>
Date Thu, 24 Feb 2011 17:33:04 GMT
On 24.02.2011 12:26, Jacob Kjome wrote:
> -Dlog4j.defaultInitOverride=true
> -Dlog4j.configuration=file:/url/path/to/log4j.xml
Thanks! Do I need the first of these switches for the second one to have 
effect?
> See more at...
> http://logging.apache.org/log4j/1.2/manual.html#defaultInit
The manual says:

   1. Setting the log4j.defaultInitOverride system property to any other
      value then "false" will cause log4j to skip the default
      initialization procedure (this procedure).

Which leaves things a bit unclear... Yours,

    -mi



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message