NightlyNomad
NightlyNomad6d 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
rubenf6d ago
What logs are you speaking of, do you have an example?
NightlyNomad
NightlyNomadOP6d 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
NightlyNomadOP2d ago
@rubenf , please tell me, is this enough for an example? @rubenf, can you help?
rubenf
rubenf2d 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
NightlyNomadOP2d ago
Got it, I'll check. Thank you very much!