Hello,

Reading the source of the readConfiguration(ClassLoader) method in 
ClassLoaderLogManager I noticed that the input stream that is
used to load the properties file is not always set. It is only set when 
classloader is an instance of URLClassLoader, and when it's
the system class loader. Right before the end of the method the root logger of 
the parent class loader may be retrieved, but in this
case the properties file is not loaded as the stream was not set (with 
getResourceAsStream for example).

Is this intentional? Is it expected that the class loader will always be a 
URLClassLoader or the system class loader? Then why is
the root logger of the parent class loader searched whenever the input stream 
is not set?

Regards,

Diogo


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to