Fix bad usage of logging

2 jobs for click-scripts-fixes in 18 minutes and 57 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Build
passed build_linux_36 #163702
docker

00:15:00

84.0%
passed build_macosx_36 #163703
macosx

00:18:53

84.0%