[Red5devs] W3C log appender
Mondain
mondain at gmail.com
Fri May 9 07:01:12 PDT 2008
I knew you would notice ;)
The class is by no means complete, I still have to find a few data points
and make sure it will work for most cases. Ill take a look at your code and
see if I can add it to what I have.
Paul
On Fri, May 9, 2008 at 4:23 AM, Daniel Rossi <spam at electroteque.org> wrote:
>
> On 09/05/2008, at 8:01 PM, Daniel Rossi wrote:
>
> >
> > AccessStatisticsService does the actual logging and sets up the
> > pattern layout and appender dynamically for each logger, the AOP stuff
> > i had to take out as it kept breaking whenever red5 was updated so is
> > called directly on a stream stop event. I can also tell it to either
> > buffer the log and the buffer size before logging. Its done
> > dynamically because i didnt want hundreds of xml appender config files
> > so i could have subscope logs in their own log files and the loggers
> > are loaded on startup. It means the logfile is created on the current
> > scope name log/stats/scopeNameApp/Red5_yyyyMMdd.log.
>
>
>
> Woops the most important part it just uses the standard
> rollingfileappender hence why the logfile names are formatted like
> that Red5_%d{yyyyMMdd}.log, they can also be gzipped when the log is
> rolling over. I also think the log string is finally formatted in the
> Red5PatternLayout which extends PatternLayoutBase not in the appender.
> The required jar for this setup is the logback access package.
>
> _______________________________________________
> Red5devs mailing list
> Red5devs at osflash.org
> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>
--
It is difficult to free fools from the chains they revere. - Voltaire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20080509/dfb5206f/attachment.html
More information about the Red5devs
mailing list