If you're using Log4J/Commons logging, then you should add your package to
the log4j.properties file.

Thanks,
Hiranya

On Tue, Jul 10, 2012 at 2:06 PM, Wright, Peter
<[email protected]>wrote:

> Hi,
>
> I've implemented a class mediator, but can't seem to get it
> to write log messages.
>
> I initialize the log as in sample 380
> http://synapse.apache.org/userguide/samples/sample380.html
>
> private static final Log log = LogFactory.getLog(myClass.class);
>
> and then write log messages afterwards:
>
> log.info("Hello World"),
>
> but see nothing in any log files.
>
> In which file should the messages be written?
> Is there some missing config?
>
> Thanks for any help,
> Peter
>
> The content of this e-mail is intended only for the confidential use of
> the person addressed.
> If you are not the intended recipient, please notify the sender and delete
> this email immediately.
> Thank you.
>



-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: [email protected];  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com

Reply via email to