Project: mule
Issue MULE-7977: Add a system property to force a console appender
Add a system property named mule.forceConsoleLog which forces a console appender if one is not already defined on the current log4j configuration. The purpose of this is to enable other products such as Studio to always have a predictable way to capture all the logs of the application regardless (and without tampering with) its configuration. This is something additive to the configuration already present for the application (if any). It doesn't altere the standard configuration selection nor log separation performed in standard mode. the mule.SimpleLog property has precedence over this property. If it is specified, then all the logic described here will not be executed.
Story points: 1