mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-24 16:48:36 +00:00
Merge pull request #30 from guewen/10.0-fix-redis-stored-log
Fix order of args in logs
This commit is contained in:
@@ -79,10 +79,10 @@ if is_true(os.environ.get('ODOO_SESSION_REDIS')):
|
|||||||
if sentinel_host:
|
if sentinel_host:
|
||||||
_logger.debug("HTTP sessions stored in Redis with prefix '%s'. "
|
_logger.debug("HTTP sessions stored in Redis with prefix '%s'. "
|
||||||
"Using Sentinel on %s:%s",
|
"Using Sentinel on %s:%s",
|
||||||
sentinel_host, sentinel_port, prefix or '')
|
prefix or '', sentinel_host, sentinel_port)
|
||||||
else:
|
else:
|
||||||
_logger.debug("HTTP sessions stored in Redis with prefix '%s' on "
|
_logger.debug("HTTP sessions stored in Redis with prefix '%s' on "
|
||||||
"%s:%s", host, port, prefix or '')
|
"%s:%s", prefix or '', host, port)
|
||||||
|
|
||||||
http.Root.session_store = session_store
|
http.Root.session_store = session_store
|
||||||
http.session_gc = session_gc
|
http.session_gc = session_gc
|
||||||
|
|||||||
Reference in New Issue
Block a user