I refer to the CVS commit message http://www.mail-archive.com/[email protected]/msg04658.html from version 1.6 to v1.7 (2001/12/19) of BaseObject.java.
I understand from the javadocs that this is a "convenience method" to access the log4j category. However, I've had to comment out this method and build because one of my business objects contained the field "category" (and the corresponding getter method generated in BaseBusinessObject was getCategory). I don't imagine that I'll be the only person to encounter this problem, since "category" is a reasonably generic term, commonly used in business objects. Just wondering if it's prudent to call the method getCategory as opposed to something more logging-specific and unlikely to create conflicts, like getLogCategory or something. What do you think? Regards, Kelvin Tan Relevanz Pte Ltd http://www.relevanz.com 180B Bencoolen St. The Bencoolen, #04-01 S(189648) Tel: 238 6229 Fax: 337 4417
