On 13/07/2006, at 7:33 PM, m.j.milicevic wrote:
>
> try something like this:
>
> log4j.rootLogger=DEBUG, FLOG
> 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
>
Ive tried that the file is nowhere to be seen :) What exactly is the
FLOG appender type anyway ? if i try to give the log file a path like
log4j.appender.FLOG.File=logs/Demo.log I get this
java.io.FileNotFoundException: logs\Demo.log (The system cannot find
the path specified)
Im currently testing suburls atm like /theapp/theaccesspoint , the
directory gets created dynamically which is pretty neat where the
stream got recorded too and hopefully am able to create a seperate log
file for this aswell.
So ive put the logs dir within the root of the webapp dir and also
within WEB-INF and no luck there :)
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org