I am running a python script in GCP cloud jobs and the logs are getting weirdly split into multiple lines. Pretty much unreadable. Is there a way to avoid this
log = getLogger()
log_formatter = Formatter(
"[%(process)d] [%(threadName)s] %(asctime)s %(name)s: %(message)s"
)
for handler in log.handlers:
handler.setFormatter(log_formatter)
log.setLevel(INFO)
The below log prints as a single line in my local console