Remove redundancy set_logger function and related calls

This commit is contained in:
yangdx
2025-02-28 21:46:45 +08:00
parent c973498c34
commit 731d820bcc
5 changed files with 18 additions and 66 deletions

View File

@@ -125,7 +125,6 @@ def main():
if callable(value):
self.cfg.set(key, value)
if hasattr(gunicorn_config, "logconfig_dict"):
self.cfg.set(
"logconfig_dict", getattr(gunicorn_config, "logconfig_dict")