Created a ticket for the request:
CAMEL-908

https://issues.apache.org/activemq/browse/CAMEL-908


Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk

-----Original Message-----
From: raulvk.soa [mailto:[EMAIL PROTECTED] 
Sent: 16. september 2008 12:22
To: [email protected]
Subject: RE: Custom log messages



Nevermind. Sorry I got confused. Obviously you can make different log
categories use the same Appender!

That would be a temporary solution, as architecturally speaking we would be
overloading the log4j with an awful amount of loggers, which I am not happy
doing.

Do you think it is feasible to achieve this by extending the Logger class
and using it as a processor? What method would I have to override? Any
special considerations? I think I may attempt to do this...

Raul.



raulvk.soa wrote:
> 
> 
> Claus Ibsen wrote:
>> 
>> to("log:ValidatingAgainstXMLSchema")
>> to("log:ValidationOK")
>> 
> 
> But wouldn't this imply that each message is printed on a different log
> file (the one associated with the logging category)?
> 
> Raul.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Custom-log-messages-tp19508418s22882p19509077.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to