Skip to content

Commit 8740087

Browse files
authored
Merge pull request #6 from dlorch/master
Fix: messages not visible
2 parents e934841 + 879991e commit 8740087

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

consumer/record_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
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)
2424
handler.setLevel(logging.INFO)
2525
handler.setFormatter(formatter)
2626
logger.addHandler(handler)

consumer/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ python3 /usr/bin/set_properties.py
33
chmod 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` &
55
touch /app/logs/record_processor.log
6-
exec tail -f /app/logs/record_processor.log
6+
exec tail -F /app/logs/record_processor.log

0 commit comments

Comments
 (0)