Reduce warning and info messages in node log files (Artemis) (#449)

* Reduce warning and info messages in node log files (Artemis)
Add an additional lof message for conflicting states identified by the Notary.

* Upgraded severity of user login message from trace to debug.

* Suppress Artemis log4j WARNING's for core.server.checkDeadLetterAddressAndExpiryAddress
This commit is contained in:
josecoll 2017-03-29 11:40:19 +01:00 committed by GitHub
parent 3497e42f7c
commit 7eada1408e
3 changed files with 5 additions and 1 deletions

View File

@ -57,5 +57,8 @@
<AppenderRef ref="Console-Appender-Println"/>
<AppenderRef ref="RollingFile-Appender" />
</Logger>
<Logger name="org.apache.activemq.artemis.core.server" level="error" additivity="false">
<AppenderRef ref="RollingFile-Appender"/>
</Logger>
</Loggers>
</Configuration>

View File

@ -134,6 +134,7 @@ object NotaryFlow {
}
if (conflicts.isNotEmpty()) {
// TODO: Create a new UniquenessException that only contains the conflicts filtered above.
logger.warn("Notary conflicts for $txId: $conflicts")
throw notaryException(txId, e)
}
}

View File

@ -576,7 +576,7 @@ class NodeLoginModule : LoginModule {
val password = String(passwordCallback.password ?: throw FailedLoginException("Password not provided"))
val certificates = certificateCallback.certificates
log.info("Processing login for $username")
log.debug { "Processing login for $username" }
try {
val validatedUser = when (determineUserRole(certificates, username)) {