diff options
author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2021-01-05 14:27:17 +0200 |
---|---|---|
committer | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2021-01-05 14:47:53 +0200 |
commit | 623965511acef0d3eafc394edaf630dfb7a8b734 (patch) | |
tree | d0b75ed2f62e1c3a0d5f4bddcbee43f9db8ad777 /example | |
parent | d440116aa48b73f24141aeba86ee226052ae9f02 (diff) | |
download | pysaml2-623965511acef0d3eafc394edaf630dfb7a8b734.tar.gz |
Set example/idp2 to log to stderr to avoid redirecting log-output to metadata files
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
Diffstat (limited to 'example')
-rw-r--r-- | example/idp2/idp_conf.py.example | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/example/idp2/idp_conf.py.example b/example/idp2/idp_conf.py.example index 8120a0ee..8b5ac234 100644 --- a/example/idp2/idp_conf.py.example +++ b/example/idp2/idp_conf.py.example @@ -145,22 +145,22 @@ CONFIG = { }, }, "handlers": { - "stdout": { + "stderr": { "class": "logging.StreamHandler", - "stream": "ext://sys.stdout", + "stream": "ext://sys.stderr", "level": "DEBUG", "formatter": "simple", }, }, "loggers": { "saml2": { - "level": "INFO" + "level": "DEBUG" }, }, "root": { "level": "DEBUG", "handlers": [ - "stdout", + "stderr", ], }, }, |