logging: fix output for both Python 3.5 and 3.6+

98 jobs for fix-logging
in 1 minute and 4 seconds and was queued for 0 seconds