Hi, ive created a custom layout class for W3C logging. However Im trying 
to send to the setter a column seperator to use via the config

Like so

<param name="Delimiter"
                value="\t"/>

public void setDelimiter(String value)
    {
        delimiter = value;
    }


when i do this

string.append(delimiter);

it comes out as a literal something \t something

if i put "\t"; in static its ok.

Any ideas ? I think i came up with a nice W3C stream stats logging 
system output is like so, Im not sure if its on par with FMS or Wowza, 
but I had to make its structure like this to work with microsoft 
LogParser as it needed the #Fields: to parse the header.

#StartDate: 2007-05-24 22:05:19
#ServerName: localhost
#ServerIP: 192.168.1.1
#Software: Red5 Flash Streaming Server v0.6
#Fields: c-playerversion    c-swffile    c-referer    
c-totalbuffertime    x-duration    x-app    x-appinst    avgbandwidth    
maxbandwidth    c-proto    s-uri    date    time    s-session-id    
c-ip    c-port    s-ip    c-starttime    c-endtime    c-bytes    
sc-bytes    c-os    c-playermanufacturer    c-playertype    
c-playerlanguage    c-screenres    videocodec    audiocodec
MAC 9,0,28,0    file:///Users/electroteque/Desktop/VODBWPlayer.swf    
null    98.95    -1180010879395    webapp/TS000010/    TS000010    
n/a    n/a    persistent    rtmp://192.168.1.1/webapp/TS000010/    
2007-05-24    22:05:521    null    192.168.1.1    55192    
192.168.1.1    1180010890549    11154    3710    1218060    null    
null    null    null    null    null    null   

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

Reply via email to