[Red5] Problems with W3CAppender
Sean Leach
kickdaddy at gmail.com
Thu Jun 5 13:07:02 PDT 2008
Now I know this is experimental, but I am trying to get the W3Appender
working. I used the following post as a start:
http://osflash.org/pipermail/red5_osflash.org/2008-May/021939.html
but it doesn't appear to actually log anything. I am using the latest
Subversion trunk. Here is my config for $RED5_BASE/conf/logback.xml:
<appender name="W3C" class="org.red5.logging.W3CAppender">
<File>log/w3c.log</File>
<Append>false</Append>
<BufferedIO>false</BufferedIO>
<ImmediateFlush>true</ImmediateFlush>
<Events>*</Events>
<Fields>x-category;x-event;date;time;x-pid;c-ip;cs-bytes;sc-bytes;x-sname;sc-stream-bytes;x-file-size;x-file-length;x-status</Fields>
</appender>
<root>
<level value="DEBUG" />
<appender-ref ref="CONSOLE" />
<appender-ref ref="FILE" />
<appender-ref ref="ERRORFILE" />
<appender-ref ref="W3C" />
</root>
the log file isn't created in $RED5_BASE/log, and of course, nothing
is logged. I have tried a absolute path as well with no luck. Any
tips to help me track down where the problem is? I have tried moving
this config into the logback.xml for the specific webapp as well with
no luck.
Thanks!
More information about the Red5
mailing list