---
title: "Technological Log"
sidebar_label: "Technological Log"
sidebar_position: 14
description: "How the technological log works, how to schedule and cancel technological log collection"
---

import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import {TabItemLabel} from '@selectel/docux/components'
import TrashIcon from '@selectel/docux/icons/trash'
import Formbricks from '@theme/MDXComponents/Formbricks'

# 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](#schedule-technological-log) or [cancel technological log collection](#cancel-technological-log) 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 complete or cancel it.

## How it works \{#principle-of-operation}

The [Logs](/logs/) service is used to collect and store technological logs. For more information on how the service works and its pricing, see the [Logs service description](/logs/about/about-logs.mdx) guide.

Technological log collection configuration consists of a `logcfg.xml` configuration file and a 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 the 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 path for log storage.

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.

[Logs can be retrieved](#get-logs) only through the Logs service. By default, logs are stored in the service for 30 days. You can [change the log retention period](/logs/manage/edit-retention.mdx) in the Control Panel.

Technological log collection terminates automatically when disk usage reaches 79% to prevent autoscaling. Read more about autoscaling in the [Configure 1C cluster disk autoscaling](/cloud-1c/cluster/manage-volume-autoscaling.mdx) guide.

## Schedule technological log collection \{#schedule-technological-log}

:::warning

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 complete or [cancel](#cancel-technological-log) it.

Technological log collection is unavailable if the cluster disk is more than 79% full. To schedule a collection, clear the disk or [scale the cluster](/cloud-1c/cluster/resize-cluster.mdx) and choose 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.

<Tabs queryString="schedule-technological-log">
  <TabItem value="template" default>
    <TabItemLabel>
      Predefined template
    </TabItemLabel>

    1. In the [Control panel](https://my.selectel.ru/ones/server), on the top menu, click **Products** and select **1C Cloud**.

    2. Go to the **1C server cluster** section.

    3. Open the cluster page → **Settings** tab.

    4. In the **Logging** block, click **Schedule**.

    5. Specify the interval for which logs will be collected. The interval cannot exceed seven days.

    6. 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.

    7. Click **Schedule**.
  </TabItem>

  <TabItem value="custom-settings" default>
    <TabItemLabel>
      Custom settings
    </TabItemLabel>

    1. In the [Control panel](https://my.selectel.ru/ones/server), on the top menu, click **Products** and select **1C Cloud**.

    2. Go to the **1C server cluster** section.

    3. Open the cluster page → **Settings** tab.

    4. In the **Logging** block, click **Schedule**.

    5. Specify the interval for which logs will be collected. The interval cannot exceed seven days.

    6. In the **logcfg.xml file settings** field, select **Custom settings**.

    7. Click **Upload XML**.

    8. Upload your `logcfg.xml` file. You can edit settings from the uploaded file. Edited settings cannot be saved as templates for other technological log collections.

    9. Click **Schedule**.
  </TabItem>
</Tabs>

## Cancel technological log collection \{#cancel-technological-log}

:::warning

Canceling an active technological log collection may result in incomplete log entries.

:::

You can cancel scheduled or active technological log collection.

1. In the [Control panel](https://my.selectel.ru/ones/server), on the top menu, click **Products** and select **1C Cloud**.

2. Go to the **1C server cluster** section.

3. Open the cluster page → **Settings** tab.

4. In the **Technological log collection** row, click <TrashIcon />.

5. Click **Delete** to confirm cancellation of the collection.

## Get logs \{#get-logs}

Use the [Get logs](/logs/manage/get-logs.mdx) guide in the Logs section.

<Formbricks />
