On 14/07/2006, at 1:01 AM, m.j.milicevic wrote:

>
>
> You came with the example:
> log4j.appender.FLOG=org.apache.log4j.DailyRollingFileAppender
>
> FLOG is DailyRollingFileAppender, as you have defined above..
> change it in whatever name you want..DRFLOG would be more 
> appropriate..;-)
>

Yes ive changed it some thing else for testing for now as with latest 
email, still no file ;)

>
>> ? 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)
>
> well, create logs directory and file will be there (relative from 
> where you are running your application from,
> so if you are running it from foo\bin directory, create logs folder in 
> there, foo\bin\logs)

so i have to place the log directory in mywebapp/WEB-INF/classes/logs 
or mywebapp/WEB-INF/classes/package/name/logs ? Even specifying no 
directory didnt create a file :) Does my application require to trigger 
some logging or will red5 be doing it already ? Ive tried using botht 
he commons LofFactory and log4j Logger without any luck.


So my biggest question of all is once i manage to get logs working if 
it does at all ? Am i having to build an extension to my application to 
handle events to somehow collect the detailed stream transfer 
information like with windows media ? Ie collecting the bytes sent 
within a stream session to a client, browser types referer, ip, im 
assuming log it after the stream has stopped, and other detailed 
information etc ? Better still, what information about clients do we 
have available to use ideally ?

Let me know

Dan


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

Reply via email to