javaamazon-web-servicesamazon-kinesisamazon-kclamazon-kinesis-kpl

Disable INFO logs in aws kcl - Kinesis


I'm running on Ubuntu 16.04 & Java 8. kcl generate thousands of INFO log lines. Does any one know how to enable only ERROR and WARN logs?

*I have also the same question for kpl.


I don't have a logfile.


Solution

  • <configuration>
        .........
    
        <logger name="com.amazonaws.services.kinesis.producer" level="warn"/>
        <logger name="com.amazonaws.services.kinesis.clientlibrary" level="warn"/>
    
        .........
    </configuration>
    

    Log levels: https://www.slf4j.org/api/org/apache/commons/logging/Log.html. You can also define a prefix of packages.