mirror of
https://github.com/corda/corda.git
synced 2025-01-26 06:09:25 +00:00
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:
parent
3497e42f7c
commit
7eada1408e
@ -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>
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user