writing disconnected clients to log file.
i was configure a log4j.properties file for log analysis real time.But log analysis result has not match with http://xxx..xx..x:8086/connectioncounts?flat
using a this configration for logging.I think some of disconnected users not writing in log file.
I was configure a writing only Disonnect or Stop events to log file.
I wonder any other event log for discconnected user?
# Access appender
I think i found the problem.
In log file writing a log sample :
2013-11-10 00:00:28 1509560437 184.108.40.206 play radio1.stream WIN 11,9,900,117
2013-11-10 00:00:28 1509560437 220.127.116.11 disconnect - WIN 11,9,900,117
disconnect string doesnt include a stream name.
How can i write x-sname for disconnected users ?
The disconnect event for rtmp clients is associated with NetConnection and not NetStream which is why it won't have stream name information at that point.