AS7 logging changes

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

AS7 logging changes

Jaikiran Pai
I have been noticing that James has been helping us moving over to the
new Logger APIs for i18n. He's converting various classes to use the new
logger APIs, where we traditionally used Logger.getLogger(klass.class).
But I also see that any new code/class that gets added by others
(atleast me), ends up using the old style of logging thus adding more
work for James later on. This I guess is going to be never ending. Is
there some wiki/instructions which lists down what needs to be done with
logging and what APIs should be used going forward? Whatever new code I
add, I can make sure that I use the new APIs.


-Jaikiran
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: AS7 logging changes

James Perkins
Jaikiran,
I actually don't have a wiki or instructions on how to really do this,
though I suppose I should really do that. If you want to see an example
the simplest converted subsystem is the Transactions.

I will work on getting some instructions up though.

On 10/20/2011 11:54 PM, Jaikiran Pai wrote:

> I have been noticing that James has been helping us moving over to the
> new Logger APIs for i18n. He's converting various classes to use the new
> logger APIs, where we traditionally used Logger.getLogger(klass.class).
> But I also see that any new code/class that gets added by others
> (atleast me), ends up using the old style of logging thus adding more
> work for James later on. This I guess is going to be never ending. Is
> there some wiki/instructions which lists down what needs to be done with
> logging and what APIs should be used going forward? Whatever new code I
> add, I can make sure that I use the new APIs.
>
>
> -Jaikiran
> _______________________________________________
> jboss-as7-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev

--
James R. Perkins
JBoss by Red Hat

_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev