Dear Steven and all

Thanks for the reply.
I tried and follow the examples in the mailing list.

Now I have a strange problem.
If have two web applications which are using SAME wrapper class.
One can display method name and line number correct and the second shows
method name and a question mark for the line number.


Webapp | method name | line number
1               ok              ok
2               ok              ?

Currently I cannot see any different in the two web applications.
Just one is compiled with make and the other is compiled with ant.
But I'm not sure if this is the reason.

If someone has a similar problem any information is highly appreciated.

Thanks 

Joerg



> -----Original Message-----
> From: Ebersole, Steven [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 10, 2003 4:43 PM
> To: 'Log4J Users List'
> Subject: RE: Get line number but using a wrapper class
> 
> 
> This has been covered _NUMEROUS_ times on the mailing list.  
> You need to use the Logger.log(String,Level,Object,Throwable) 
> method from within your wrapper.  See the javadocs for that method.
> 
> 
> 
> -----Original Message-----
> From: Joerg Eggink [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 10, 2003 9:37 AM
> To: [EMAIL PROTECTED]
> Subject: Get line number but using a wrapper class
> 
> 
> Dear all
> 
> I want to write my own log4j wrapper class but I want also 
> the line number in the output of each statement.
> 
> I this possible ?
> Does log4j keep the line number of the wrapper log statement 
> or the line number of the wrapper class ?
> 
> 
> Regards
> 
> Joerg
> 
> 
> -----------------------------------
> Joerg Eggink
> ACCESS Systems Europe GmbH
> Essener Str. 5 / TZU-VI
> D-46047 Oberhausen / Germany
> Tel.: +49-208-8290-6436
> mailto: [EMAIL PROTECTED]
> Internet: www.access-sys-eu.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to