ARTEMIS-3779 Critial IO Exception logged as Error
This commit is contained in:
parent
d0036ee0cc
commit
da5d5e504f
|
@ -498,7 +498,7 @@ public interface ActiveMQServerLogger extends BasicLogger {
|
||||||
@Message(id = 222009, value = "Unable to announce backup for replication. Trying to stop the server.", format = Message.Format.MESSAGE_FORMAT)
|
@Message(id = 222009, value = "Unable to announce backup for replication. Trying to stop the server.", format = Message.Format.MESSAGE_FORMAT)
|
||||||
void replicationStartProblem(@Cause Exception e);
|
void replicationStartProblem(@Cause Exception e);
|
||||||
|
|
||||||
@LogMessage(level = Logger.Level.WARN)
|
@LogMessage(level = Logger.Level.ERROR)
|
||||||
@Message(id = 222010, value = "Critical IO Error, shutting down the server. file={1}, message={0}", format = Message.Format.MESSAGE_FORMAT)
|
@Message(id = 222010, value = "Critical IO Error, shutting down the server. file={1}, message={0}", format = Message.Format.MESSAGE_FORMAT)
|
||||||
void ioCriticalIOError(String message, String file, @Cause Throwable code);
|
void ioCriticalIOError(String message, String file, @Cause Throwable code);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue