[Red5] RED5 has come to a crawl?

Mondain mondain at gmail.com
Tue Nov 6 17:32:06 PST 2007


Please read: http://jira.red5.org/confluence/display/docs/Logging+Setup I
updated for web applications.

On Nov 6, 2007 4:55 PM, Daniel Rossi <spam at electroteque.org> wrote:

> Hey i believe the logfactory now also needs to be this if importing those
> packages
> private static final Logger log =
> (Logger)LoggerFactory.getLogger(Application.class.getName());
>
> One of your classes is still trying to use log4j, there is the logback.xmllocated in conf now, yes u have to comment out the log4j stuff out of the
> web.xml. Unless logback.xml isnt being loaded for some reason ? Im just
> about to ask a question about per webapp logback configs as its not being
> loaded in.
>
>
>
>
> On 07/11/2007, at 11:31 AM, Lenny Sorey wrote:
>
> Hello All,
>
> I am using , Java 1.6_02, Tomcat 6.0.14 with RED5's later trunk update of
> 2462.
>
> I changed all my apps logging to the following:
>
> import org.slf4j.Logger;
> import org.slf4j.LoggerFactory;
>
> I don't know what is the matter but all my apps along with the standard
> RED5 apps
> have just slowed to a crawl. It takes a long time for an app to even load.
>
> Yesterday the platform was popping along very fast. Today after the update
> and logging update, It is VERY slow.
>
> Are there any specific instructions regarding the slf4j logger. I just
> want to make sure
> I have the platform configured correctly.
>
> Anything special in the web.xml that needs to be addressed? Anything need
> to be added or removed.
>
> I commented out the following in the web.xml file.
>
> <!--
>  <context-param>
>   <param-name>log4jConfigLocation</param-name>
>   <param-value>/WEB-INF/log4j.properties</param-value>
>  </context-param>
>  -->
>
> <!--
>     <listener>
>         <listener-class>org.springframework.
> web.context.request.RequestContextListener</listener-class>
>     </listener>
>  -->
>
> But am still getting the following in the stdout.log file:
>
> log4j:WARN No appenders could be found for logger (org.springframework.
> web.context.ContextLoader).
> log4j:WARN Please initialize the log4j system properly.
> [INFO] 2007-11-06 17:51:10,531 Thread-1:(
> org.red5.server.jmx.JMXAgent.init [INFO] 2007-11-06 17:51:10,546
> Thread-1:( org.red5.server.jmx.JMXAgent.init [INFO] 2007-11-06
> 17:51:11,343 Thread-1:( org.red5.server.net.rtmp.RTMPMinaTransport.start[INFO] 2007-11-06 17:51:11,343 Thread-1:(
> org.red5.server.net.rtmp.RTMPMinaTransport.start [INFO] 2007-11-06
> 17:51:11,343 Thread-1:( org.red5.server.net.rtmp.RTMPMinaTransport.start[INFO] 2007-11-06 17:51:11,437 Thread-1:(
> org.red5.server.net.rtmp.RTMPMinaTransport.start [INFO] 2007-11-06
> 17:51:11,437 Thread-1:( org.red5.server.net.rtmp.RTMPMinaTransport.start[INFO] 2007-11-06 17:51:11,437 Thread-1:(
> org.red5.server.net.rtmp.RTMPMinaTransport.start [INFO] 2007-11-06
> 17:51:11,468 Thread-1:( org.red5.server.net.rtmp.RTMPMinaTransport.start[INFO] 2007-11-06 17:51:16,671 Thread-1:(
> org.red5.server.stream.ProviderService.getVODProviderFile [INFO]
> 2007-11-06 17:51:16,671 Thread-1:(
>
> Regards,
>
> Lenny
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>


-- 
It is difficult to free fools from the chains they revere. - Voltaire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20071106/9f674d0f/attachment.html 


More information about the Red5 mailing list