Configuration reference
Logging schema
Two schemas exist across the config files in this repository:
- Modern (parsed today): per-component
logging:block withlevel,console_output(bool),file_output(bool),file_path. Decoded bycommon/config/src/af_typed_config.cpp. Caveat:file_output/file_pathare parsed but not yet wired to a spdlog file sink — components log to stdout regardless. Tracked in issue #13 ([TECH DEBT] Restore and enhance logging infrastructure). - Legacy (kept for reference, not parsed): top-level
logging:block withlevel,file,console,max_size_mb,max_files. Present inconfig/af_config.yaml,config/components/*.yaml, the trailing block ofconfig/af.yaml, and somedocker-compose/conf/*.yamlfiles. These values are ignored at runtime.
config/af.yaml (bundled AF)
af_core.logging.levelaf_core.logging.console_outputaf_core.logging.file_output(parsed, not wired — see #13)af_core.logging.file_path(parsed, not wired — see #13)af_core.communication.kind/.listen.host/.listen.port/.timeout_msaf_core.qod.max_session_duration/.min_session_duration/.session_cleanup_interval/.unavailable_session_ttl/.enable_notifications/.api_base_urlpcf_handler.enabledpcf_handler.pcf.base_url/.use_tls/.api_versionpcf_handler.logging.*(same shape asaf_core.logging.*)pcf_handler.communication.*nef_handler.enabled/udr_handler.enabled— reserved for future handlersmetrics.enabled/.port/.path
af_core/config/af_core.yaml
af_core.pcf_base_urlaf_core.use_tlsaf_core.api_versionaf_core.logging.levelaf_core.logging.console_outputaf_core.logging.file_output(parsed, not wired — see #13)af_core.logging.file_path(parsed, not wired — see #13)af_core.communication.server_addressaf_core.communication.server_port
config/af_config.yaml (legacy schema — not parsed)
Kept in-repo as a reference for the legacy shape. See #13. Fields:
af_config.host/.port/.threads/.log_level/.tls_enabled/.cert_file/.key_filecommunication.type/.af_core_service/.af_core_host/.af_core_port/.timeout_mslogging.level/.file/.console/.max_size_mb/.max_filesmetrics.enabled/.port/.path