msaServer Module
.srv_gunicorn
Attributes
JSON_LOGS
module-attribute
JSON_LOGS = (
True
if os.environ.get("JSON_LOGS", "0") == "1"
else False
)
Classes
MSAServerGunicorn
Attributes
app_dir
instance-attribute
intercept_handler
instance-attribute
intercept_handler = InterceptHandler()
log_level
instance-attribute
log_level: str = log_level
reload
instance-attribute
workers
instance-attribute
Functions
__init__
__init__(
app: object,
app_dir: str,
host: str,
port: int,
reload: bool = False,
log_level: str = "info",
workers: int = -1,
) -> None
StandaloneApplication
Bases: BaseApplication
, ABC
Attributes
application
instance-attribute
options
instance-attribute
Functions
__init__
__init__(app, options = None)
StubbedGunicornLogger
Bases: Logger
Attributes
access_logger
instance-attribute
access_logger = logging.getLogger('gunicorn.access')
error_logger
instance-attribute
error_logger = logging.getLogger('gunicorn.error')
handler
instance-attribute
handler = logging.NullHandler()
log_level
instance-attribute
log_level: str = log_level
Functions
__init__
__init__(cfg, log_level: str = 'info')
Functions
Last update:
September 28, 2022
Created:
September 28, 2022