Verified Commit e2e18ce9 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

log kafka actions less verbosly

parent 82bb90f8
Pipeline #37764 passed with stages
in 4 minutes and 2 seconds
...@@ -27,5 +27,8 @@ ...@@ -27,5 +27,8 @@
<Root level="info"> <Root level="info">
<AppenderRef ref="STDOUT"/> <AppenderRef ref="STDOUT"/>
</Root> </Root>
<Logger name="org.apache.kafka" level="warn">
<AppenderRef ref="STDOUT"/>
</Logger>
</Loggers> </Loggers>
</Configuration> </Configuration>
...@@ -34,6 +34,7 @@ object App ...@@ -34,6 +34,7 @@ object App
parse(args) match { parse(args) match {
case Some((sessionId, filters, dryRun)) => case Some((sessionId, filters, dryRun)) =>
logger.info(s"Dry-running deletion process: ${if (dryRun) "true" else "false"}")
try { try {
val matches = Iterator.continually(poll) val matches = Iterator.continually(poll)
.takeWhile(_.nonEmpty) .takeWhile(_.nonEmpty)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment