Dear Wendell, Not sure if it takes you a step further but this is what my log4j.properties file looks like:
log4j.logger.org.apache.commons.httpclient=ERROR,B log4j.category.org.springframework=DEBUG,A log4j.category.org.hibernate=DEBUG,A log4j.category.org.apache.velocity=DEBUG,A log4j.category.net.sf.ehcache=ERROR,A log4j.category.org.apache.commons=DEBUG,A log4j.appender.A=org.apache.log4j.FileAppender log4j.appender.A.File=security.log log4j.appender.A.layout=org.apache.log4j.PatternLayout log4j.appender.A.layout.ConversionPattern=%5p [%c] %m%n log4j.appender.B=org.apache.log4j.ConsoleAppender log4j.appender.B.layout=org.apache.log4j.PatternLayout log4j.appender.B.layout.ConversionPattern=%5p [%c] %m%n ========= The messages you receive for the missing appenders can be fixed by adding a log4j.category for you org.apache.commons log messages and setting the loglevel for that category. Hope it can help. Bart On Tue, Apr 14, 2009 at 9:54 PM, Wendell Piez <wap...@mulberrytech.com>wrote: > Dear Hubert, > > At 08:36 AM 4/13/2009, you wrote: > >> > making a settings.properties file with the line >> > >> > org.apache.cocoon.log4j.loglevel=ERROR >> > >> > but this has no apparent effect. Is this not what I do to reduce the >> > logging down from DEBUG? (It seems to be the implication of the >> >> Did you make the settings.properties file in the >> block/src/main/resources/META- >> INF/cocoon/properties directory? This should make it accessible for the >> Spring >> configurator. >> > > Indeed I did, which is why I am puzzled, and suspect I must be missing > something basic. > > A log file is still being generated with any number of debug-level messages > in it. > > FWIW, I also see these lines echoed at startup. I have no idea if they're > relevant to the problem I am having: > > log4j:WARN No appenders could be found for logger > (org.apache.commons.jci.stores.MemoryResourceStore). > log4j:WARN No appenders could be found for logger > (org.apache.commons.jci.monitor.FilesystemAlterationMonitor). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN Please initialize the log4j system properly. > > (Sorry for the slow turnaround on this. I have been swamped.) > > Thanks, > Wendell > > > > ====================================================================== > Wendell Piez mailto:wap...@mulberrytech.com > Mulberry Technologies, Inc. http://www.mulberrytech.com > 17 West Jefferson Street Direct Phone: 301/315-9635 > Suite 207 Phone: 301/315-9631 > Rockville, MD 20850 Fax: 301/315-8285 > ---------------------------------------------------------------------- > Mulberry Technologies: A Consultancy Specializing in SGML and XML > ====================================================================== > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org > For additional commands, e-mail: users-h...@cocoon.apache.org > > -- Bart Remmerie +32 (0477) 78.88.76 remme...@gmail.com