Hi, >Setting the override property would likely help when running standalone, >but we >don't have a problem them. I don't think it will help when running under >JBoss >because because then JBoss would not initialize log4j at all, right?
Wrong. This would be useful in ruling out the default initialization, and ruling in programmatic initialization, a significant debugging help. >really don't know anything about how that works, I could be wrong. But I Read the Short Manual's section on the default initialization. The Short Manual is on the log4j web site. >stepped >through the app from the first statement, which is a call to the ctor of an >'agent'. Nothing really takes place other than initialization of a few >instance >attributes until the call to getRootLogger(). That's fairly meaningless, since many things happen before your app's first statement is ever reached. Static initializers and a ton of container code runs first. >I figure I really have 2 options at this point, and both of them will be >useful. >I can download the source for log4j1.2.8 and step through what is actually >occurring. The knowledge gained from this should certainly be worthwhile. >And I >can setup JBoss on this box, configure it to run the app that is causing us >problems, and step through that initialization process. That examination >*might* >provide me with some clues as to what I can examine in order to determine >when we >are running under JBoss. Sure, both of those would be useful. >Oh yeah, or I can just rely on using a ctor that takes an argument for >setting a >flag that specifies to *not* perform the special log4j configuration. But I You can go off the same system property log4j itself uses, it doesn't have to be a special flag. Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]