class: org.apache.log4j.xml.DOMConfigurator Please add this method: public static void configure(java.io.InputStream)
Can you explain why configure(java.new.URL) doesn't work for you? If you can get an InputStream, you can get a URL, at least if you are loading your config file off the classloader. What specific case do you have that doesn't work with the existing functionality? Jake
...of course I meant java.net.URL Jake
This is being discussed at the moment on log4j-dev, for the new JoranConfigurator and for PropertyConfigurator, though not for the deprecated DOMConfigurator. Please feel free to chime in to the list's discussion and explain your use-case there. In the future, please provide an explanation of why you need a particular method when you open a Bugzilla item for it. Alternatively, you can discuss you needs first on the mailing list(s).
class: org.apache.log4j.xml.DOMConfigurator Please add this method: public static void configure(java.io.InputStream) because I want to load log4j.xml from a library jar in my war app. this log4j.xml will be served as various config example and also be used as template of my log configuration file.