You didn't attach any appender to the loggers except the rootLogger. It should look like this:
log4j.logger.org.apache.commons.httpclient=DEBUG, stdout Probably you also want to set additivity of this logger to false, otherwise log entries it would appear twice in stdout (one time by this logger, the second time by the rootLogger): log4j.logger.org.apache.commons.httpclient.additivity=false (<- not shure about correct syntax, I usually use xml config files). BTW: the term "category" is deprecated and replaced by "logger" with absolutely the same sematics. Heri > -----Original Message----- > From: Eugeny N Dzhurinsky [mailto:[EMAIL PROTECTED] > Sent: Friday, June 30, 2006 9:43 AM > To: log4j-user@logging.apache.org > Subject: [SPAM (Bayesain Analysis)] - problems with logging - > Bayesian Filter detected spam > > > Hello! > I have strange problem with Log4J version 1.2.13 > My log4j.properties file looks like: > > log4j.rootLogger=ERROR, stdout > log4j.appender.stdout=org.apache.log4j.ConsoleAppender > log4j.appender.stdout.layout=org.apache.log4j.PatternLayout > log4j.appender.stdout.layout.ConversionPattern=%5p > %d{dd/mm/yy hh:mm:ss} [%t] (%C{1}:%L) - %m%n > log4j.logger.httpclient.wire=DEBUG > log4j.logger.org.apache.commons.httpclient=DEBUG > log4j.category.httpclient.wire=DEBUG > > For some reason I can see ERROR logs from my application, but > I can't see > DEBUG logs for package org.apache.commons.httpclient (they are using > commons.logging, which is supposed to work fine with log4j). > > Any ideas why is that and how to enable logging in this case? > -- > Eugene N Dzhurinsky > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]