Sean,

Thanks for your patch. However, the LogManager static initializer is
for internal use only. There is no intention to export it.

At 14:54 17.06.2002 -0400, you wrote:
>I need to be able to reload my configuration file at runtime. I know I can
>do this if I don't use the default initialization, but I would like to use
>the default initialization. The person who closed bug 9462 said to submit a
>patch here. So, here it is (log4j 1.24).
>
>Sean Patrick McEligot
>[EMAIL PROTECTED]
>
>--- LogManager.orig     2002-06-17 14:35:23.000000000 -0400
>+++ LogManager.java     2002-06-17 14:41:30.000000000 -0400
>@@ -109,6 +109,9 @@
>    static private RepositorySelector repositorySelector;
>
>    static {
>+    runDefaultInitialization();
>+       }
>+  public static void runDefaultInitialization() {
>      // By default we use a DefaultRepositorySelector which always returns
>'h'.
>      Hierarchy h = new Hierarchy(new RootCategory((Level) Level.DEBUG));
>      repositorySelector = new DefaultRepositorySelector(h);

--
Ceki


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

Reply via email to