Skip to content

Commit 3af4ddd

Browse files
author
Nyiro Gergo
committed
satosa.base: log state on debug level
State of satosa can contain some encoded data (cookies_samesite_compat) which are to verbose on info level. Therefore The "Loaded state ..." log message is emitted on debug level.
1 parent 6a4a83b commit 3af4ddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/satosa/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def _load_state(self, context):
207207
context.state = state
208208
msg = "Loaded state {state} from cookie {cookie}".format(state=state, cookie=context.cookie)
209209
logline = lu.LOG_FMT.format(id=lu.get_session_id(context.state), message=msg)
210-
logger.info(logline)
210+
logger.debug(logline)
211211

212212
def _save_state(self, resp, context):
213213
"""

0 commit comments

Comments
 (0)