Let say I have specified PatternLayout with the conversion pattern as "%r [%t] %-5p %c - %m%n"
 
Here [%t] will always be substitute with [main] ? 
Let's say I have another thread in a method then logging at the internal thread will also substitute the [%t] as [main].
 
My goal is how can I print or write to a file that the log which has been logged is belongs to a particular method. Can any body help me on this regard ?
 
Hope to get the reply soon.
 
Thanks and Regards,
Rajesh
 
 
*************************************************************************
The ultimate measure of a man is not where he stands in
moments of comfort and convenience, but where he stands at
times of challenge and controversy - Martin Luther
*************************************************************************
The Information contained and transmitted by this E-MAIL is proprietary to 
Wipro Limited and is intended for  use only by the individual or entity to which 
it is addressed, and may contain information that is privileged, confidential or 
exempt from disclosure under applicable law. If this is a forwarded message, 
the content of this E-MAIL may not have been sent with the authority of the 
Company. If you are not the intended recipient, an agent of the intended 
recipient or a  person responsible for delivering the information to the named 
recipient,  you are notified that any use, distribution, transmission, printing, 
copying or dissemination of this information in any way or in any manner is 
strictly prohibited. If you have received this communication in error, please 
delete this mail & notify us immediately at [EMAIL PROTECTED] 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to