Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

journalctl not showing all python prints

# restart service to flush your output buffer or add this to your code

import sys
print("Hello")
sys.stdout.flush()
 
PREVIOUS NEXT
Tagged: #journalctl #showing #python #prints
ADD COMMENT
Topic
Name
5+6 =