We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f185f7 commit 9a4b431Copy full SHA for 9a4b431
1 file changed
production.py
@@ -4,6 +4,7 @@
4
import logging
5
import re
6
import sys
7
+from dataclasses import asdict
8
9
from gunicorn.app.base import BaseApplication
10
@@ -91,7 +92,7 @@ def load(self):
91
92
logger.debug(
93
"Starting gunicorn app '{}' for production environment with options: {}".format(
94
config.gunicorn.app_name,
- json.dumps(config, indent=2),
95
+ json.dumps(asdict(config), indent=2),
96
)
97
98
sys.stdout = StreamToLoggerFromGunicornProcess()
0 commit comments