Would someone be able to provide an explanation how the PropertyConfigurator.doConfigure(String configFileName, Hierarchy hierarchy) is intended to be used? I have tried several test classes that use this and I keep getting the following error messages:
log4j:ERROR No appenders could be found for category (app1). log4j:ERROR Please initialize the log4j system properly. Here is my properties file: log4j.rootCategory=DEBUG log4j.category.app1=DEBUG, R log4j.additivity.app1=false log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=app1system.log log4j.appender.R.MaxFileSize=1000KB log4j.appender.R.MaxBackupIndex=5 log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern=%c %d %-5p - %m%n Also, would someone be able to explain how the Hierarchy class is intended to be used? From the Javadoc, there is a statement "The casual user should not have to deal with this class directly. In fact, up until version 0.9.0, this class had default package access. However, if you are in an environment where multiple applications run in the same VM, then read on." After reading through the Javadoc, I did not see any references to anything related to multiple applications running in the same VM. Michael S. Daly MerckVaccines.com(TM) Merck & Co., Inc. MVD IS Mail: WP97-A369 Phone: 215-652-4735 Pager: 1-888-621-5636 Fax: 215-652-8846 E-mail: [EMAIL PROTECTED] ------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. ============================================================================== -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>