amazon-kinesis-client-python
amazon-kinesis-client-python copied to clipboard
How to change the log level
I am using kcl-python for developing my consumer, I am running my application using the commands - amazon_kclpy_helper.py --print_command --java <path-to-java> --properties samples/sample.properties
I am however not able to change the log level, that is being dumped on the console. Can you please guide me? Help will be so much appreciated.
Thanks
you can use logback.xml and change the loglevel.
cmd:
amazon_kclpy_helper.py --print_command --java <path-to-java> --properties samples/sample.properties --log-configuration logback.xml
logback.xml change log level inside this.
https://github.com/awslabs/amazon-kinesis-client/blob/master/amazon-kinesis-client-multilang/src/main/resources/logback.xml