NightlyNomad
NightlyNomad4w ago

How to enable output of info log level?

Hello everyone! How to enable output of info level logs? I use Python scripts and want to receive debug or info level logs in output. But I can only receive warning logs and higher. What is the reason for this?
5 Replies
rubenf
rubenf4w ago
What logs are you speaking of, do you have an example?
NightlyNomad
NightlyNomadOP4w ago
Yes, here is an example. I try to output 5 logging levels, but I get only three in the output. Attached is an example of the script and the output result.
No description
No description
NightlyNomad
NightlyNomadOP3w ago
@rubenf , please tell me, is this enough for an example? @rubenf, can you help?
rubenf
rubenf3w ago
have you tried setting the logger level ? (in your python code) windmill will uses as logs whatever is sent to stdout so those levels are not sent to stdout as per your logger config
NightlyNomad
NightlyNomadOP3w ago
Got it, I'll check. Thank you very much!