You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Ludwig Magnusson <lu...@greenstreetconsulting.se> on 2010/02/12 08:31:58 UTC

Extending turbines logger

Hi!

I would like to extend the Log4JLogger that turbine uses to implement some
extra functionality when the error and fatal methods are called. But it
seems like there is no property that points to the log implementing class.

Have I missed this somewhere?

/Ludwig

 


RE: Extending turbines logger

Posted by Ludwig Magnusson <lu...@greenstreetconsulting.se>.
Yes, details on how you did that would defenetly help.
/Ludwig

-----Original Message-----
From: Siegfried Goeschl [mailto:siegfried.goeschl@it20one.at] 
Sent: den 12 februari 2010 10:26
To: Turbine Users List
Subject: Re: Extending turbines logger

Hi Ludwig,

I don't know the Log4JLogger class in detail but I did a similar thing
just last week - implementing a custom log4j appender which counts the
error/fatal messages and provide a list of the last 500 log messages to
be displayed in a GUI. Would that help?

Cheers,

Siegfried Goeschl

Ludwig Magnusson wrote:
> Hi!
>
> I would like to extend the Log4JLogger that turbine uses to implement some
> extra functionality when the error and fatal methods are called. But it
> seems like there is no property that points to the log implementing class.
>
> Have I missed this somewhere?
>
> /Ludwig
>
>  
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@turbine.apache.org
For additional commands, e-mail: user-help@turbine.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@turbine.apache.org
For additional commands, e-mail: user-help@turbine.apache.org


Re: Extending turbines logger

Posted by Siegfried Goeschl <si...@it20one.at>.
Hi Ludwig,

I don't know the Log4JLogger class in detail but I did a similar thing
just last week - implementing a custom log4j appender which counts the
error/fatal messages and provide a list of the last 500 log messages to
be displayed in a GUI. Would that help?

Cheers,

Siegfried Goeschl

Ludwig Magnusson wrote:
> Hi!
>
> I would like to extend the Log4JLogger that turbine uses to implement some
> extra functionality when the error and fatal methods are called. But it
> seems like there is no property that points to the log implementing class.
>
> Have I missed this somewhere?
>
> /Ludwig
>
>  
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@turbine.apache.org
For additional commands, e-mail: user-help@turbine.apache.org