Simply commenting out a line in a log4j config will not work if you do not
specify a default log level for the package (org.red5.server) or its parent
(org.red5). You will notice the parent doesn't have a log level assigned and
therefore is most likely defaulted to DEBUG; which is verified by your
result.

Paul

On 9/5/07, Ryan Shaw <[EMAIL PROTECTED]> wrote:
>
> Great, thanks. I had commented that line out per the instructions here:
> http://www.newviewnetworks.com/nvnHome/blog/client/index.cfm/
> 2007/5/28/Adding-Logging-to-your-Red5-applications
>
> On Sep 5, 2007, at 1:08 PM, Mondain wrote:
>
> > Change this line
> > #log4j.logger.org.red5.server=INFO
> > to this
> > log4j.logger.org.red5.server=WARN
> > or
> > log4j.logger.org.red5.server=ERROR
> > or
> > log4j.logger.org.red5.server=OFF
> >
> >
> >
> > On 9/5/07, Ryan Shaw <[EMAIL PROTECTED]> wrote: No
> > matter what I do, I continue to see DEBUG messages in my console
> > log when I launch Red5. My conf/log4j.properties is attached below.
> > As you can see, not a DEBUG flag in sight... yet I still get DEBUG
> > messages in the console log:
> >
> > ...
> > [DEBUG] 2007-09-05 11:59:52,172 main:
> > ( org.red5.server.Server.addMapping ) Add mapping: 127.0.0.1:8088/
> > oflaDemo => default
> > [DEBUG] 2007-09-05 11:59:52,172 main:
> > ( org.red5.server.Scope.hasChildScope ) Has child scope? oflaDemo in
> > [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default']
> > [DEBUG] 2007-09-05 11:59:52,175 main:
> > ( org.red5.server.Scope.addChildScope ) Add child scope:
> > [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'oflaDemo'] to
> > [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default']
> > ...
> >
> > I'm using the latest trunk.
> >
> > log4j.rootCategory=INFO, CONSOLE
> > #Red5
> > log4j.logger.org.red5.io=INFO
> > #log4j.logger.org.red5.server=INFO
> > log4j.logger.org.red5.server.Standalone=INFO
> > log4j.logger.org.red5.server.Client=INFO
> > log4j.logger.org.red5.server.api.stream.support=INFO
> > log4j.logger.org.red5.server.jmx=INFO
> > log4j.logger.org.red5.server.messaging.InMemoryPushPushPipe=INFO
> > log4j.logger.org.red5.server.net=INFO
> > log4j.logger.org.red5.server.net.proxy=INFO
> > log4j.logger.org.red5.server.net.remoting=WARN
> > log4j.logger.org.red5.server.net.rtmp=INFO
> > log4j.logger.org.red5.server.net.rtmp.BaseRTMPHandler=OFF
> > log4j.logger.org.red5.server.net.rtmp.RTMPMinaIoHandler=OFF
> > #log4j.logger.org.red5.server.net.rtmp.codec=INFO
> > log4j.logger.org.red5.server.net.rtmp.status=INFO
> > #log4j.logger.org.red5.server.net.rtmp.RTMPMinaTransport=INFO
> > log4j.logger.org.red5.server.net.rtmpt=WARN
> > log4j.logger.org.red5.server.net.servlet=INFO
> > log4j.logger.org.red5.server.net.servlet.RTMPTServlet=WARN
> > log4j.logger.org.red5.server.persistence=WARN
> > log4j.logger.org.red5.server.pooling.ThreadObjectFactory=WARN
> > log4j.logger.org.red5.server.service=INFO
> > log4j.logger.org.red5.server.so=WARN
> > log4j.logger.org.red5.server.stream=INFO
> > log4j.logger.org.red5.server.stream.consumer=WARN
> > log4j.logger.org.red5.server.script=WARN
> > # Apache / Other
> > log4j.logger.org.apache.catalina.authenticator=INFO
> > log4j.logger.org.apache.catalina.session=INFO
> > log4j.logger.httpclient=WARN
> > log4j.logger.org.apache.commons.digester=WARN
> > log4j.logger.org.apache.jasper=INFO
> > log4j.logger.org.apache.commons.httpclient=WARN
> > log4j.logger.org.quartz=WARN
> > # Spring
> > log4j.logger.org.springframework=INFO
> > log4j.logger.org.springframework.beans.factory=INFO
> > log4j.logger.org.springframework.beans.factory.xml=WARN
> > log4j.logger.org.springframework.web.context=INFO
> > log4j.logger.org.springframework.web.context.support=WARN
> > log4j.logger.org.springframework.ui.context.support=WARN
> > # Jetty
> > log4j.logger.org.red5.server.JettyLoader=INFO
> > log4j.logger.org.red5.server.jetty.Red5WebPropertiesConfiguration=WARN
> > log4j.logger.org.mortbay=INFO
> > log4j.logger.org.mortbay.log=INFO
> > # Tomcat
> > log4j.logger.org.red5.server.TomcatLoader=INFO
> > log4j.logger.org.apache.catalina=INFO
> > log4j.logger.org.apache.catalina.realm=WARN
> > log4j.logger.org.apache.catalina.session=WARN
> > log4j.logger.org.apache.commons.modeler=WARN
> > log4j.logger.org.apache.commons.digester=WARN
> > # Cache
> > log4j.logger.org.red5.server.cache=WARN
> > log4j.logger.net.sf.ehcache=INFO
> > log4j.logger.com.whirlycott.cache=WARN
> > log4j.logger.com.whirlycott.cache.policy=WARN
> > # Mina
> > log4j.logger.org.apache.mina=WARN
> > log4j.logger.org.apache.mina.filter=WARN
> > log4j.logger.org.apache.mina.filter.thread.ThreadPoolFilter=WARN
> > # Demos
> > log4j.logger.org.red5.server.webapp.oflaDemo=WARN
> >
> > log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
> > log4j.appender.CONSOLE.Threshold=INFO
> > log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
> > log4j.appender.CONSOLE.layout.ConversionPattern=[%p] %d{ISO8601} %t:
> > ( %c.%M ) %m %n
> >
> > log4j.appender.FLOG=org.apache.log4j.RollingFileAppender
> > log4j.appender.FLOG.File=red5.log
> > log4j.appender.FLOG.Threshold=INFO
> > log4j.appender.FLOG.MaxFileSize=20000KB
> > log4j.appender.FLOG.MaxBackupIndex=1
> > log4j.appender.FLOG.layout=org.apache.log4j.PatternLayout
> > log4j.appender.FLOG.layout.ConversionPattern=[%p] %d{ISO8601} %t:( %c
> > {1}.%M ) %m %n
> >
> > log4j.appender.PROXY=org.apache.log4j.RollingFileAppender
> > log4j.appender.PROXY.File=proxy.log
> > log4j.appender.PROXY.Threshold=INFO
> > log4j.appender.PROXY.MaxFileSize=20000KB
> > log4j.appender.PROXY.MaxBackupIndex=1
> > log4j.appender.PROXY.layout=org.apache.log4j.PatternLayout
> > log4j.appender.PROXY.layout.ConversionPattern=[%c{1}] (%d{ISO8601}) %
> > m %n
> >
> >
> > _______________________________________________
> > Red5 mailing list
> > Red5@osflash.org
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
> >
> >
> > --
> > It is difficult to free fools from the chains they revere. - Voltaire
> > _______________________________________________
> > Red5 mailing list
> > Red5@osflash.org
> > http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
> _______________________________________________
> Red5 mailing list
> Red5@osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>



-- 
It is difficult to free fools from the chains they revere. - Voltaire
_______________________________________________
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to