[Minor] Added LoggingLoader.reset() on context destroyed
This commit is contained in:
parent
ca5f1514ea
commit
e45d37c05d
|
@ -54,8 +54,10 @@ public class StartupListener implements ServletContextListener {
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
logger.error("Failed to stop " + APP_NAME + " due to: " + e.getMessage(), e);
|
logger.error("Failed to stop " + APP_NAME + " due to: " + e.getMessage(), e);
|
||||||
throw e;
|
throw e;
|
||||||
|
} finally {
|
||||||
|
logger.info("Destroyed " + APP_NAME);
|
||||||
|
LoggingLoader.reset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
logger.info("Destroyed " + APP_NAME);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue