Ok, I got this working for mediators extending AbstractMediator, using method 
traceOrDebug.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Hubert, Eric
Sent: September 19, 2008 10:16 AM
To: [email protected]
Subject: Re: [esb-java-user] using the system logger


Hi Remsy,

you may have a look at some helpful methods in 
org.apache.synapse.mediators.AbstractMediator, if you custom mediator extends 
from this. If not, you may consider changing this to reuse such common code. 
Also have a look at the mediators extending this class. You will find plenty of 
examples for logging/tracing there. Hope this helps to get started.


Regards,
   Eric
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Schmilinsky, Remsy
> Sent: Friday, September 19, 2008 3:59 PM
> To: [email protected]
> Subject: [esb-java-user] using the system logger
> 
> Hi. How can I log activities from mediators / tasks using the 
> logging channel of the environment ? is it possible ? I don't 
> want to use println.
> 
> thanks
> 
> Remsy
> 
> _______________________________________________
> Esb-java-user mailing list
> [email protected]
> http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
> 

_______________________________________________
Esb-java-user mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user

_______________________________________________
Esb-java-user mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to