Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Would like the opportunity to add JSON Logger to a Mule Domain #35

Open
anderswestmanxlent opened this issue Jan 19, 2022 · 0 comments
Open

Comments

@anderswestmanxlent
Copy link

anderswestmanxlent commented Jan 19, 2022

Is it possible to have the opportunity to add JSON Logger to a Mule Domain?

Background:
We added the JSON Logger to our domain, just to reduce the size of our many applications.
We made a config for the logger in both the mule domain and the application that uses the domain.
We added identical loggers and just modified the configs on them (One from the domain and the other from application)

Result:

  1. Domain config. Logged applicationName as the mule-domain, in logs/mule_ee.log file.
  2. Application config. Logged applicationName as the name of the application, in logs/mule_ee.log file.

We have a lot of applications and it is a bit hard to use the log files if it is mixed up.

Is it possible, somehow, in scenario 2) to have the application logging to the file that is configured in the applications log4j2.xml file? Or any suggestions on how to accomplish this?

Regards Anders Westman

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant