Skip to content

Commit

Permalink
Revert log4j changes, to prevent test failurse
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied committed Sep 22, 2023
1 parent 5f9002f commit e94d8c1
Showing 1 changed file with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions src/integrationTest/resources/log4j2-test.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
status = warn
status = info
name = Integration test logging configuration
packages = org.opensearch.test.framework.log

Expand All @@ -14,37 +14,31 @@ appender.console.filter.prerelease.onMismatch=NEUTRAL
appender.capturing.type = LogCapturingAppender
appender.capturing.name = logCapturingAppender

rootLogger.level = warn
rootLogger.level = info
rootLogger.appenderRef.stdout.ref = consoleAppender

logger.testsecconfig.name = org.opensearch.test.framework.TestSecurityConfig
logger.testsecconfig.level = warn
logger.testsecconfig.level = info
logger.localopensearchcluster.name=org.opensearch.test.framework.cluster.LocalOpenSearchCluster
logger.localopensearchcluster.level = warn
logger.localopensearchcluster.level = info

logger.auditlogs.name=org.opensearch.test.framework.audit
logger.auditlogs.level = warn
logger.auditlogs.level = info

# Logger required by test org.opensearch.security.http.JwtAuthenticationTests
logger.httpjwtauthenticator.name = com.amazon.dlic.auth.http.jwt.HTTPJwtAuthenticator
logger.httpjwtauthenticator.level = warn
#logger.httpjwtauthenticator.appenderRef.capturing.ref = logCapturingAppender
logger.httpjwtauthenticator.level = debug
logger.httpjwtauthenticator.appenderRef.capturing.ref = logCapturingAppender

#Required by tests:
# org.opensearch.security.IpBruteForceAttacksPreventionTests
# org.opensearch.security.UserBruteForceAttacksPreventionTests
logger.backendreg.name = org.opensearch.security.auth.BackendRegistry
logger.backendreg.level = warn
#logger.backendreg.appenderRef.capturing.ref = logCapturingAppender
logger.backendreg.level = debug
logger.backendreg.appenderRef.capturing.ref = logCapturingAppender

#com.amazon.dlic.auth.ldap
#logger.ldap.name=com.amazon.dlic.auth.ldap.backend.LDAPAuthenticationBackend
logger.ldap.name=com.amazon.dlic.auth.ldap.backend
logger.ldap.level=warn
#logger.ldap.appenderRef.capturing.ref = logCapturingAppender

logger.securesslsettings.name=org.opensearch.security.ssl.SecureSSLSettings
logger.securesslsettings.level=error

logger.auditmessagerouter.name=org.opensearch.security.auditlog.routing.AuditMessageRouter
logger.auditmessagerouter.level=error
logger.ldap.level=TRACE
logger.ldap.appenderRef.capturing.ref = logCapturingAppender

0 comments on commit e94d8c1

Please sign in to comment.