Skip to content

Global service configuration

Global settings applicable to all services

loglevel

Default value
info
Possible values
_ critical _ error _ warning _ info * debug
YAML Path
loglevel
Key-Value Path
loglevel
Environment
NOC_LOGLEVEL

brand

Default valueNOC
YAML Pathbrand
Key-Value Pathbrand
EnvironmentNOC_BRAND

global_n_instances

Default value1
YAML Pathglobal_n_instances
Key-Value Pathglobal_n_instances
EnvironmentNOC_GLOBAL_N_INSTANCES

installation_name

Default valueUnconfigured installation
YAML Pathinstallation_name
Key-Value Pathinstallation_name
EnvironmentNOC_INSTALLATION_NAME

installation_id

Default value``
YAML Pathinstallation_id
Key-Value Pathinstallation_id
EnvironmentNOC_INSTALLATION_ID

instance

Default value0
YAML Pathinstance
Key-Value Pathinstance
EnvironmentNOC_INSTANCE

language

Default valueen
YAML Pathlanguage
Key-Value Pathlanguage
EnvironmentNOC_LANGUAGE

language_code

Default valueen
YAML Pathlanguage_code
Key-Value Pathlanguage_code
EnvironmentNOC_LANGUAGE_CODE

listen

Default valueauto:0
YAML Pathlisten
Key-Value Pathlisten
EnvironmentNOC_LISTEN

log_format

Default value%(asctime)s [%(name)s] %(message)s
YAML Pathlog_format
Key-Value Pathlog_format
EnvironmentNOC_LOG_FORMAT

thread_stack_size

Default value0
YAML Paththread_stack_size
Key-Value Paththread_stack_size
EnvironmentNOC_THREAD_STACK_SIZE

version_format

Default value%(version)s+%(branch)s.%(number)s.%(changeset)s
YAML Pathversion_format
Key-Value Pathversion_format
EnvironmentNOC_VERSION_FORMAT

node

Default valuesocket.gethostname()
YAML Pathnode
Key-Value Pathnode
EnvironmentNOC_NODE

pool

Default valueos.environ.get("NOC_POOL", ")
YAML Pathpool
Key-Value Pathpool
EnvironmentNOC_POOL

secret_key

Default value12345
YAML Pathsecret_key
Key-Value Pathsecret_key
EnvironmentNOC_SECRET_KEY

timezone

Default valueEurope/Moscow
YAML Pathtimezone
Key-Value Pathtimezone
EnvironmentNOC_TIMEZONE