On 13/07/2006, at 2:41 PM, electroteque wrote:

> Hi there, im currently trying to look at how it would be possible to
> setup a custom log format for an application, storing its details in
> its own log directory, collecting the streamed bytes sent to each
> client connected, unique connections, hits etc. We currently use
> windows media which has a log format like this
>

Ive tried to begin tweaking any log4j settings, however a log file 
never was opened or created, here are my settings in the apps 
properties file, this is setting up a dailyrollingfileappender which 
will rollover after the date pattern. Any specific logging for the app 
and any special logging i have set still goes to the default Red5.log 
server log file. The log method is taken from one of the examples which 
is using apache commons logging LogFactory, im assuming I have to use 
log4j instead ? heh

log4j.appender.FLOG=org.apache.log4j.DailyRollingFileAppender
log4j.appender.FLOG.File=Demo.log
log4j.appender.FLOG.DatePattern='.'yyyy-MM-dd-HH-mm
log4j.appender.FLOG.Threshold=DEBUG
log4j.appender.FLOG.layout=org.apache.log4j.PatternLayout
log4j.appender.FLOG.layout.ConversionPattern=[%p] %r %t:( %c{1}.%M ) %m 
%n


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

Reply via email to