Merge remote-tracking branch 'origin/dev' into dev
commit
d1dc5c04c0
|
@ -128,7 +128,4 @@ class InterceptTimedRotatingFileHandler(RotatingFileHandler):
|
||||||
if is_tenants_mode():
|
if is_tenants_mode():
|
||||||
bind["schema_name"] = connection.tenant.schema_name
|
bind["schema_name"] = connection.tenant.schema_name
|
||||||
bind["domain_url"] = getattr(connection.tenant, 'domain_url', None)
|
bind["domain_url"] = getattr(connection.tenant, 'domain_url', None)
|
||||||
self.logger_ \
|
self.logger_.opt(depth=depth, exception=record.exc_info, colors=True, lazy=True).bind(**bind).log(level, f"{msg}")
|
||||||
.opt(depth=depth, exception=record.exc_info, colors=True, lazy=True) \
|
|
||||||
.bind(**bind) \
|
|
||||||
.log(level, msg)
|
|
||||||
|
|
Loading…
Reference in New Issue