[Fix] logger fix
This commit is contained in:
parent
df9bc79041
commit
a17b89b833
|
@ -91,7 +91,10 @@ public class OperationsLog extends StrolchComponent {
|
||||||
poll.run();
|
poll.run();
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("Failed to perform a log task", e);
|
if (e instanceof InterruptedException && !this.run)
|
||||||
|
logger.warn("Interrupted!");
|
||||||
|
else
|
||||||
|
logger.error("Failed to perform a task", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue