Your output looks like the default toString() result. So I guess your renderer 
is not called.

How looks your definition? This definition works for me:

    <renderer renderedClass="ch.ergonomics.pms.common.supervision.MessageLogger"
        renderingClass="ch.ergonomics.pms.common.supervision.MessageLogger"/>

Make sure that your config file is loaded.

Heri


> -----Original Message-----
> From: Steve Pruitt [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 27, 2006 11:18 PM
> To: Log4J Users List
> Subject: ObjectRenderer
> 
> 
> Has anyone had luck getting object renderers to work?  I have 
> a renderer
> that implements doRender and returns a string.  Both, the 
> rendered class
> and rendering class are defined in my config file with a <render> tag.
> 
> I have a sysout in the doRender method, but I never see its println in
> the console.  So, I don't think its being called.
> The log message is:
> 
>       [EMAIL PROTECTED]
> 
> This is class I set as the rendered class in the config file.  I don't
> know what else to look for.
> 
> 
> -S
> 
> ---------------------------------------------------------------------
> 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