File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2020 '%(asctime)s.%(msecs)03d [%(module)s] %(levelname)s %(funcName)s - %(message)s' ,
2121 '%H:%M:%S'
2222)
23- handler = handlers .RotatingFileHandler ('/app/logs/record_processor.log' , maxBytes = 1000 , backupCount = 5 )
23+ handler = handlers .RotatingFileHandler ('/app/logs/record_processor.log' , maxBytes = 10 ** 6 , backupCount = 5 )
2424handler .setLevel (logging .INFO )
2525handler .setFormatter (formatter )
2626logger .addHandler (handler )
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ python3 /usr/bin/set_properties.py
33chmod 777 /usr/bin/record_processor.py
44` python3 /usr/bin/amazon_kclpy_helper.py --print_command --java /usr/bin/java --properties /usr/bin/record_processor.properties --log-configuration /usr/bin/logback.xml` &
55touch /app/logs/record_processor.log
6- exec tail -f /app/logs/record_processor.log
6+ exec tail -F /app/logs/record_processor.log
You can’t perform that action at this time.
0 commit comments