Re: [Webwork-devel] ActionSupport log change - why?
Brought to you by:
baldree,
rickardoberg
From: Matt B. <ma...@sm...> - 2002-06-06 11:01:22
|
innocent mistake. i'll fix that. ----- Original Message ----- From: "Mike Cannon-Brookes" <mi...@at...> To: <web...@li...> Sent: Thursday, June 06, 2002 2:00 AM Subject: [Webwork-devel] ActionSupport log change - why? > G'day guys - me again ;) > > On 22/04 ActionSupport changed the way the category object is created, from: > > (1.26) > protected transient Category log = Category.getInstance(this.getClass()); > > to > > (1.27) > protected static transient Category log = > Category.getInstance(ActionSupport.class); > > > Now I don't really care if the log is static or not (ostensibly why the > change was made from the commit message!) but why did we change from > this.getClass() to ActionSupport.class? > > Is this a bug? > > I hope so! It means that subclasses of ActionSupport now log all their > messages in the webwork.action.ActionSupport category instead of their own > category (ie com.atlassian.blah) unless they override log field with their > own category - which sucks ;) > > Looks like an innocent mistake though - or is there a reason for the change > I'm not seeing? > > Cheers, > Mike > > > ATLASSIAN - http://www.atlassian.com > Expert J2EE Software, Services and Support > ------------------------------------------------------- > Need a simple, powerful way to track and manage issues? > Try JIRA - http://www.atlassian.com/software/jira > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Webwork-devel mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webwork-devel > > |