Technological Log
The technological log is used to analyze 1C system errors, performance, and crashes. It contains logs of requests, server calls, lock waits, and deadlocks.
You can schedule or cancel tech log collection in the control panel. Only one tech log collection can be scheduled in a cluster at a time. To schedule a new collection, wait for the current one to finish or cancel it.
How it works
The Logs service is used to collect and store tech logs. For more information about how the service works and its cost, see the Logs service overview.
Setting up tech log collection consists of the logcfg.xml configuration file and the time interval for which logs will be collected. The interval cannot exceed seven days.
You can use ready-made templates with logcfg.xml file settings or upload your own settings. You can also edit settings in the selected template or from an uploaded file. Edited settings cannot be saved as templates for other tech log collections.
The log path in the logcfg.xml file is automatically overwritten by the system for storage in the Logs service. You cannot use a custom log storage path.
During technological log collection, logs are collected into a file on the cluster disk and simultaneously transferred to the Logs service. The log file size does not exceed 1 GB. Once the collection is complete, the log file is stored on the cluster disk for two hours and then deleted.
You can get logs only via the Logs service. By default, logs are stored in the service for 30 days. You can change the log retention period in the control panel.
Tech log collection automatically stops when disk usage reaches 79% to prevent autoscaling. For more information about autoscaling, see the Configure 1C server cluster disk autoscaling instructions.
Schedule technological log collection
Technological log collection increases the load on the cluster and may reduce its performance or cause cluster failure.
Only one tech log collection can be scheduled in a cluster at a time. To schedule a new collection, wait for the current one to finish or cancel it.
Tech log collection is not available if the cluster disk is more than 79% full. To schedule collection, clean up the disk or scale the cluster and select a configuration with a larger disk size than in the previous configuration.
When configuring tech log collection, you can use ready-made templates with logcfg.xml file settings or upload your own settings.
Predefined template
Custom settings
-
In the control panel, in the top menu, click Products and select Cloud 1C.
-
Go to the 1C Server Cluster section.
-
Open the cluster page → Settings tab.
-
In the Logging block, click Schedule.
-
Specify the interval for which logs will be collected. The interval cannot exceed seven days.
-
In the logcfg.xml file settings field, select a template. You can edit the settings in the selected template. Edited settings cannot be saved as templates for other tech log collections.
-
Click Schedule.
Cancel technological log collection
Canceling an active technological log collection may result in incomplete log entries.
You can cancel scheduled or active technological log collection.
-
In the control panel, in the top menu, click Products and select Cloud 1C.
-
Go to the 1C Server Cluster section.
-
Open the cluster page → Settings tab.
-
In the Tech log collection line, click .
-
Click Delete to confirm canceling the collection.
Get logs
Use the Get logs instructions in the Logs section.