I checked my settings. I only have one log4j-1.2.7.jar. You can see I am using ver 1.2.7, I have a console type of application with logger statements in an app jar, using PropertyConfigurator.configure( log4j.properties );
Any others I may not see ? -----Original Message----- From: Esher, Marc [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 10:50 AM To: 'Log4J Users List' Subject: RE: Warning from log4j initialization I was having the same trouble, and it turned out to be a class loader issue. I had two separate web apps, each with its own log4j.properties file. Both apps had log4j.jar in their respective lib directories. But the problem was that i also had a log4j.jar in the jdk_home/jre/lib/ext directory, as well. Removing the log4j.jar from the ext directory (but keeping the jar in each web app's lib directory) solved my problems. -----Original Message----- From: Charlin Huang [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 10:40 AM To: Log4J Users List Subject: Warning from log4j initialization ( sorry for re-send this, last one is of wrong subject title) Hello, I got the following from log4j log4j:WARN No appenders could be found for logge (com.spectel.cvapi.modapi.ModAPIConference). log4j:WARN Please initialize the log4j system properly. Here is the property file I used. Is anything missing here caused above warn or something else ? I appreciate any advice. Charlin Huang ======================================================================== ========== # CVAPI logger properties # DEBUG, INFO, WARN, ERROR and FATAL # # Set root logger level to DEBUG and its only appender to console and file. log4j.rootLogger=WARN, stdout, R # stdout is set to be a ConsoleAppender, uses PatternLayout, Print the date in ISO 8601 format log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n # R is set to be a log file log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=C:\\Projects\\ConfViewAPI\\logs\\dev.log log4j.appender.R.MaxFileSize=500KB log4j.appender.R.MaxBackupIndex=9 log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern=%d [%t] %-5p %c - (%F:%L) %m%n # Print only messages of level or above in a package. log4j.logger.com.spectel.cvapi.modapi.message=INFO log4j.logger.com.spectel.cvapi.modapi.S70XBridge=INFO log4j.logger.com.spectel.cvapi.modapi.ModAPIConference=INFO log4j.logger.com.spectel.cvapi.modapi.ModAPILine=INFO log4j.logger.com.spectel.cvapi=INFO -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>