> For the complete documentation index, see [llms.txt](https://cocktailcloud.gitbook.io/cocktail-cloud-online-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cocktailcloud.gitbook.io/cocktail-cloud-online-en/log-service/application-logs/application-logging.md).

# Application logging

We recommend that you select a method that suits your environment.

## 1. Automatic instrumentation of container logs

Collect container logs from workloads using automated instrumentation.

{% content-ref url="/pages/9VgYnSfdELttgqTjpHbY" %}
[Automatic instrumentation of container logs](/cocktail-cloud-online-en/log-service/application-logs/application-logging/automatic-instrumentation-of-container-logs.md)
{% endcontent-ref %}

## 2. Manual instrumentation of file logs (SDK)

The SDK method is used when you want to collect logs from a specific service through Logger settings.

{% content-ref url="/pages/ZLwoIs5XYBpU38FX7cVo" %}
[Manual measurement of file logs(SDK)](/cocktail-cloud-online-en/log-service/application-logs/application-logging/manual-measurement-of-file-logs-sdk.md)
{% endcontent-ref %}

## 3. Manual measurement of file logs (Sidecar)

The sidecar method is used when you want to read and collect log files in a specific directory.

{% content-ref url="/pages/NHiDaZ4kCNAG3I9iVYMY" %}
[Manual measurement of file logs (Sidecar)](/cocktail-cloud-online-en/log-service/application-logs/application-logging/manual-measurement-of-file-logs-sidecar.md)
{% endcontent-ref %}
