user1171632
user1171632

Reputation: 930

logging in Mule to a non-root logger

is there a way in Mule to log a message to a different logger than the default/root one?

in java, you can call a different logger, using its name from the log4j file:

org.apache.log4j.Logger.getLogger("myLogger")

Upvotes: 0

Views: 88

Answers (1)

David Dossot
David Dossot

Reputation: 33413

The logger message processor has a category attribute that let's you configure the name of the logger to use.

Upvotes: 1

Related Questions