I am currently trying to implement flv streaming through red5 for a 
website I am setting up.  I have it up and running and streaming using 
the included oflaDemo application.  I would like to log more information 
though.  I am being asked to log more like windows media services, with 
the following information:

filename
ip address
date
time
bytes sent
duration of video play
buffer time

Does anyone have a logging configuration, or even a different app that 
does this?  Here is mycurrent log4j.properties:

# logging config, this should be auto reloaded by spring.
log4j.rootLogger=INFO, FLOG
log4j.appender.FLOG=org.apache.log4j.RollingFileAppender
log4j.appender.FLOG.File=/var/log/red5.log
log4j.appender.FLOG.Threshold=DEBUG
log4j.appender.FLOG.MaxFileSize=1MB
log4j.appender.FLOG.MaxBackupIndex=100
log4j.appender.FLOG.layout=org.apache.log4j.PatternLayout
log4j.appender.FLOG.layout.ConversionPattern=%d{MM-dd HH:mm:ss} [%p] %r 
%t:( %c{1}.%M ) %m %n

log4j.logger.org.red5.server.net.rtmp=INFO
log4j.logger.org.red5.server.net.rtmp.RTMPConnection=WARN


This gives me filename and date, I would like the rest of the 
information though.  IP address is more important than the rest too, so 
if someone has an easy way to get that, it would be appreciated.  Also, 
if it can be logged, but isn't pretty, post-processing of logs is a 
viable option for me.

Thanks,
Alex Thurlow

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to