Hi Ravi,
> No ..no...its not an issue at all.
>
> Use it the way "Apurva" has mentioned.
>
> It works !!
Yes, that would be one solution. I am providing another solution.
It's just a matter of HOW. Which solution to pick is up to Viral.
As for me, the main reason to use commons-logging is to decouple my
application from the logging framework. Putting that in mind, Apurva's
solution is far from my philosophy.
BTW, Viral, you can just add a "%M" to your ConversionPattern and it
will be replaced by the method name! But be sure to read the comment on
http://logging.apache.org/log4j/docs/api/org/apache/log4j/PatternLayout.html
about performance issues.
Best regards,
-- Shinobu Kawai
--
Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]