Skip to content

Commit

Permalink
fix: logging fix (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc authored Jun 19, 2023
1 parent 5269b01 commit 4346809
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ public static void stopLogging(Start start) {
if (getInstance(start) == null) {
return;
}
getInstance(start).infoLogger.getLoggerContext().stop();
getInstance(start).errorLogger.getLoggerContext().stop();
getInstance(start).infoLogger.getLoggerContext().getStatusManager().clear();
getInstance(start).errorLogger.getLoggerContext().getStatusManager().clear();
getInstance(start).infoLogger.detachAndStopAllAppenders();
getInstance(start).errorLogger.detachAndStopAllAppenders();
}
Expand Down

0 comments on commit 4346809

Please sign in to comment.