Returns the logging Level setting for the deployment auditing logger.
This method uses a system property rather than a normal logging level
setting from domain.xml to avoid changing the domain.xml layout (due to schedule issues).
Later on this could be converted, time permitting.
Level result = Level.OFF;
try {
result = Level.parse(System.getProperty(CONFIGURED_LEVEL_PROPERTY_NAME, CONFIGURED_LEVEL_PROPERTY_DEFAULT));
} catch (Throwable thr) {
// Use the default OFF value but log the problem.
Logger logger = LogDomains.getLogger(LogDomains.DPL_LOGGER);
logger.log(Level.WARNING, thr.getLocalizedMessage(), thr);
}
return result;