Topology Operator Logging

Topology Operator and related components can be configured to log to STDOUT or a persistent volume (PV), similar to other MATRIXX components.

If the global.logging.output.persistentVolume property is set to false, the Topology Operator components generate log information at STDOUT only. When global.logging.output.persistentVolume is set to true, they generate log information at STDOUT and as files in shared logging storage.

For all types of shared storage, and for all MATRIXX components, when global.storage.type.createPersistentVolume is set to true, a PV is created at the location specified in global.storage.localStorageDir property (/home/data by default).

Topology Operator Log Output Directories describes the locations in shared logging storage where each component stores log files. Each directory is a subdirectory of the directory specified with the global.storage.localStorageDir property.

Table 1. Topology Operator Log Output Directories
Component Directory
topology-operator topology-operator
subdomain-operator subdomain-operator-s<subdomainId>
pricing-operator pricing-operator-s<subdomainId>
engine-operator engine-operator-s<subdomainId>e<engineId>
pod-monitor pod-monitor-s<subdomainId>e<engineId>
cluster-monitor cluster-monitor-s<subdomainId>e<engineId>
topology-agent Topology agent logs are saved in a directory with the same name as the pod, for example: topology-agent-8fcc57755-2nn64.
engine-starter engine-starter-s<subdomainId>e<engineId>
engine-stopper engine-stopper-s<subdomainId>e<engineId>
pre-update topology-operator-pre-update
pre-delete topology-operator-pre-delete

The topology-operator, subdomain-operator, pricing-operator, engine-operator, pod-monitor, cluster-monitor, and topology-agent logs rotate every day at a maximum size of 100 MB. The engine-starter, engine-stopper, pre-update, and pre-delete components log to a new file each time they are used.

For more information about cloud native logging, see the discussion about logging and alerts. For more information about Topology Operator, see the discussion about Topology Operator in MATRIXX Installation and Upgrade.