[Red5] Problems with W3CAppender
Daniel Rossi
electroteque at gmail.com
Thu Jun 5 23:30:43 PDT 2008
Really wish I understood that. Also I'm still not quite understanding
why the logback and sl4j files have to be duplicated for each webapp.
Is there a simple explanation for that ?
On 06/06/2008, at 10:20 AM, Mondain wrote:
> That would be my guess, and I'm working on the very problem right now.
>
> On Thu, Jun 5, 2008 at 1:36 PM, Daniel Rossi
> <electroteque at gmail.com> wrote:
> I think its because of the current logback logging issues since the
> tomcat changes ?
>
> That example should work. But its not flexible enough for me sadly as
> its all in one file and one directory for all streams and
> applications :\
>
> On 06/06/2008, at 6:07 AM, Sean Leach wrote:
>
> > 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!
> >
> > _______________________________________________
> > Red5 mailing list
> > Red5 at osflash.org
> > http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
>
> --
> It is difficult to free fools from the chains they revere. -
> Voltaire _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20080606/e60d0beb/attachment.html
More information about the Red5
mailing list