amazon-kinesis-client-python icon indicating copy to clipboard operation
amazon-kinesis-client-python copied to clipboard

How to change the log level

Open ajoevarghese opened this issue 7 years ago • 1 comments

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

ajoevarghese avatar Jan 19 '18 14:01 ajoevarghese

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

ravi0912 avatar Jun 12 '20 09:06 ravi0912