So I was examining my logs further and I see some lines like this:
08-07 15:15:19 [DEBUG] 508101273 IoWorker-3:( ApplicationAdapter.debug )
appDisconnect: RTMPMinaConnection from 69.44.118.174:2516 to xxx.xxx.com
(in: 4042, out: 4411680)
That will give me the IP and bytes sent, but I don't see a good way to
tie that to a line like this:
08-07 15:14:34 [INFO] 508056108 IoWorker-2:( RTMPHandler.info ) call:
Service: null Method: play Num Params: 40: flv:OFLA_PROMO1: 02: -10003: null
With that, I would have date, filename, IP address, and bytes sent.
That would give me most of what I need. Would I be able to change the
log4j.properties to make more of that information appear on the same line?
My other thought was to have the swf that this plays though post to a
web page to log this info out of band. That seems like a lot of work
and not very reliable though.
Any thoughts?
-Alex Thurlow
Dan Rossi wrote:
> Im considering building some kind of logging class to do just that
> whenever I get around to it. It would be nice if it did have such an
> implemnentation in place, I know FMS already does it tracking similar
> data to windows media in W3C format. Check my previous posts. when we
> ever manage to implement the vod stuff we def need logging, or how
> else can we track the usage.
>
> Manolo R.G. wrote:
>> Alex Thurlow escribió:
>>
>>> IP address is more important than the rest too, so
>>> if someone has an easy way to get that, it would be appreciated.
>>>
>> I haven't test it but there's a method that returns a String
>> getRemoteAddress()on IConnection interface
>>
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org