Logging
Schemas for the logging config.
- class AuditSchema(enabled=True)[source]
This class represents the [logging.audit] section of our config.toml file.
- enabled
Flag to control if the logging should be enabled or not.
- Type:
-
enabled:
bool= True
- class LoggingSchema(level='INFO', audit=<factory>)[source]
This class represents the [logging] section of our config.toml file.
- level
The level to log. Defaults to “INFO”.
- Type:
- responses
If the responses should be logged. Defaults to True.
- Type:
- question
If the questions should be logged. Defaults to True.
- Type:
-
audit:
AuditSchema
-
level:
str= 'INFO'