Reputation: 4654
I understand that there is a built in log4j instance and configuration inside Mule ESB, is there any way to acquire that exact instance from within the associated Spring Bean so that i can log into the same file that mule use (the file inside Mule-standalone\logs) ?
thank you
Upvotes: 0
Views: 94
Reputation: 705
Simply use the log4j or slf4j api inside your spring bean and, since it is loaded in the mule context, the same logging settings will be used.
Upvotes: 1