PYTHONLOGGING env variable
19 Feb
2020
19 Feb
'20
5:12 p.m.
Another idea I've had that may be of use: PYTHONLOGGING environment variable. Setting PYTHONLOGGING to any log level or level name will initialize logging.basicConfig() with that appropriate level. Another option would be that -x dev or a different -x logging will initialize basic config. Will be useful mostly for debugging purposes instead of temporarily modifying the code. Kinda surprised it doesn't exist tbh. Bar Harel
1392
Age (days ago)
1499
Last active (days ago)
22 comments
9 participants
participants (9)
-
Alex Hall
-
Bar Harel
-
Christopher Barker
-
Guido van Rossum
-
jdveiga@gmail.com
-
Kyle Stanley
-
Mike Miller
-
remi.lapeyre@henki.fr
-
Steven D'Aprano