The correct way is:
private static Logger log = LoggingManager.getLoggerForClass()
note that in org.apache.jmeter.testelement.property I did make the
logger in AbstractProperty a protected element - and it was a
mistake to do so, it should be changed. But then, all the property
classes would need these lines added to them. Gosh, aspects
would be nice for this! If only I dared use them.
-Mike
On 18 Aug 2003 at 19:45, Jeremy Arnold wrote:
> Hello,
> I mostly stayed on the side-lines a little while back when some of
> you guys were making changes to the logging system. So now
I'd like to
> check: what is the "correct" way to define a logger. My guess is:
>
> private static Logger log = LoggingManager.getLoggerForClass(
);
>
> Am I close? Do we still use
> Hierarchy.getDefaultHierarchy().getLogerFor("xxx"); in some
places?
>
> Jeremy
> http://xirr.com/~jeremy_a
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-
[EMAIL PROTECTED]
> For additional commands, e-mail: jmeter-dev-
[EMAIL PROTECTED]
>
--
Michael Stover
[EMAIL PROTECTED]
Yahoo IM: mstover_ya
ICQ: 152975688
AIM: mstover777
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]