Python Logging To Stdout In Git Bash
I have a python script with logging that outputs to stdout logger = logging.getLogger() ch = logging.StreamHandler(sys.stdout) ch.setLevel(v_level) formatter = logging.Formatter('%
Solution 1:
Going by the information in this question, it looks like this could well be an issue with output buffering. You can skip buffering by running your script with python -u
.
Post a Comment for "Python Logging To Stdout In Git Bash"