JP,

Have you had a look at the XMLLayout? That might be enough for your needs. Ceki 

ps: This is a user question so it should have been sent to the log4j-user ML. 


At 18:08 02.02.2001 +0100, you wrote:

>Hi All,
>
>I have downloaded log4j a couple of days ago and it suits my needs perfectly.  
>However I do have this problem.
>
>What I am doing is that from class A, I am calling cat1.info(myObj).  Now, I 
>have built an ObjectRenderer to translate MyObj to XML (and subclassed 
>Category), which also works fine.  HOWEVER, in the final logging I would like to 
>include xml tags for line number, class name, elapsed time and priority.  How 
>can I get these from the object renderer to be included in the xml 
>representation (which then is returned by method doRender()) ?  I know that 
>there is LocationInfo, but I have no clue on how I should call it, where should 
>I get the trace from etc... Please help me
>
>cheers
>JP
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]

----
Ceki Gülcü           e-mail: [EMAIL PROTECTED] (preferred)
av. de Rumine 5              [EMAIL PROTECTED]
CH-1005 Lausanne          
Switzerland            Tel: ++41 21 351 23 15


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

Reply via email to