[Minor] Added LoggingLoader.reset() on context destroyed

This commit is contained in:
Robert von Burg 2023-06-20 09:45:42 +02:00
parent ca5f1514ea
commit e45d37c05d
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 3 additions and 1 deletions

View File

@ -54,8 +54,10 @@ public class StartupListener implements ServletContextListener {
} catch (Throwable e) {
logger.error("Failed to stop " + APP_NAME + " due to: " + e.getMessage(), e);
throw e;
} finally {
logger.info("Destroyed " + APP_NAME);
LoggingLoader.reset();
}
}
logger.info("Destroyed " + APP_NAME);
}
}