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.