</log4j:configuration> I have this log4j.xml in my war file WEB-INF and even in WEB_INF/classes. what i require is, a log file must be created when i hot deploy my war file in jboss. Give me suggestion on all aspects, if this not workable then tell me it's not possible. plz do suggest at the earliest as possible. If it lengthy method plz give exapmle war file and procedure to go about. Thankz in advance Ambarish [ March 10, 2004: Message edited by: A KCR ]
The biggest thing I notice is that you don't define a CONSOLE appender... Why don't you start with the log4j.xml provided by JBoss? It will do what you want. You can cut out parts when you are sure you understand what they are doing...
I was looking through the JBoss archives and I saw a thread discussing this theme. You can configure log4j to use a seperate config file for your application. I don't recall the details but it involves setting up a log4j initialization class in your app's start-up.
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.