[logging] section¶
Logging service configuration
format¶
Format string used for log records.
- Default value:
%(asctime)s [%(name)s] %(message)s - YAML Path:
logging.format - Key-value Path:
logging/format - Environment:
NOC_LOGGING_FORMAT
The former log_format parameter is deprecated and will be removed in NOC 27.
Use logging.format in YAML configuration and NOC_LOGGING_FORMAT in
environment configuration. log_format and NOC_LOG_FORMAT remain available
during the deprecation period.
log_api_calls¶
- YAML Path:
logging.log_api_calls - Key-value Path:
logging/log_api_calls - Environment:
NOC_LOGGING_LOG_API_CALLS
log_sql_statements¶
- YAML Path:
logging.log_sql_statements - Key-value Path:
logging/log_sql_statements - Environment:
NOC_LOGGING_LOG_SQL_STATEMENTS