Technological Log
The technological log is used to analyze errors, performance, and 1C system crashes. It contains logs of queries, server calls, wait locks, and deadlocks.
You can schedule or cancel technological log collection in the Control panel. Only one technological 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 for collecting and storing technological log data. Learn more about how the service works and its pricing in the General information about the Logs service guide.
Configuring technological log collection consists of a logcfg.xml configuration file and the time interval for which logs will be collected. The interval cannot exceed seven days.
You can use predefined templates with logcfg.xml file settings or upload your own. You can also edit settings in a selected template or from an uploaded file. Edited settings cannot be saved as templates for other technological log collections.
The path to logs 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 saved to a file on the cluster disk and simultaneously transferred to the Logs service. The log file size does not exceed 1 GB. After collection is complete, the log file is kept on the cluster disk for two hours and then deleted.
Logs can be retrieved only via the Logs service. By default, logs are kept in the service for 30 days. You can change the log retention period in the Control panel.
Technological log collection is automatically terminated when disk usage reaches 79% to prevent autoscaling. Learn more about autoscaling in the Configure 1C server cluster disk autoscaling guide.
Schedule technological log collection
Technological log collection increases the load on the cluster and may reduce its performance or cause cluster failure.
Only one technological 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.
Technological log collection is unavailable if the cluster disk is more than 79% full. To schedule collection, clear the disk or scale the cluster and select a configuration with a larger disk size than the previous one.
When configuring technological log collection, you can use predefined templates with logcfg.xml file settings or upload your own settings.
Predefined template
Custom settings
-
In the Control panel, on the top menu, click Products and select 1C Cloud.
-
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 technological 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, on the top menu, click Products and select 1C Cloud.
-
Go to the 1C server cluster section.
-
Open the cluster page → Settings tab.
-
In the Technological log collection row, click .
-
Click Delete to confirm the collection cancellation.
Get logs
Use the Get logs guide in the Logs section.