---
title: "Logging Overview"
slug: "logging-overview"
description: "This document demonstrates how to write into Log files, and how to manage the Log  they are contained in. The document also shows the location for Logs, both within Decisions, and outside of it. The Log step is useful for debugging purposes. "
tags: ["container logs", "Custom Log Files", "Logging", "Logging Settings", "Logs"]
updated: 2025-08-06T16:16:22Z
published: 2025-08-06T16:16:22Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Logging Overview

## Overview

**Logs**are records of events throughout the environment, often used as a reference for troubleshooting issues. By tracking information via Logs, Administrators can better pinpoint and monitor any problematic events occurring in a workflow. Information collected by Logs may pertain to various things, such as **Flow**step execution, **System****Errors**, information on the **Email**System, etc.

The following article demonstrates a detailed overview of logging and references to other articles for detailed information.

---

## Accessing Logs

### File Storage

By default, the platform generates a Log file in the designated file storage location. To access and review the logs, navigate to **C:\Program Files\Decisions\Decisions Server\Logs**and open the **Decisions.Web.Core.log**file**.**

The following table represents the various types of Logs that can be viewed in the Logging Folder or System Logs file and a brief description of each one.

| Log Type | Description |
| --- | --- |
| Decisions.Web.Core.log | This is the central location where all Log messages from the Decisions application are recorded and stored. |
| LoggingError.log | This file serves the purpose of recording any errors that may occur during the logging process. |
| Primary.shmcc.log | This file records the event of any issues encountered during code compilation. |
| Decisions.Web.Core.Usage.csv | It records the count of individual API calls, Flow runs, etc., at regular intervals of every 30 seconds. |
| Decisions.Web.Core.UsageDetails.txt | It records the logs of Flow executions, API calls, job executions, etc., at regular intervals of every 30 seconds. |

### From the Platform

Admin users can access all the Log messages within the platform. To view logs within the platform, navigate to the desired **Designer Folder > Settings > Health > Logs.** Click on the Log message to view the details. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/Screenshot%202024-03-07%20093941.png)

### Downloading Logs as a Zip File

As of the v9.1 release, Users can download all Logs into a Zip File through the **Logs Dashboard**by selecting **Download Logs as Zip.**This action will download all Logs into a Zip file, including **Web.Core** and **S****hmcc** Logs, but will not download the [settings.xml](https://documentation.decisions.com/v9/docs/system-settings-overview-settings-xml) file.

![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-01-27_10h44_41.png)

[](https://documentation.decisions.com/v9/docs/using-the-log-step)

---

## [Reading Logs](https://documentation.decisions.com/v9/docs/reading-logs)

It is important to note that Log messages consist of various components that require some knowledge to interpret them effectively. This [article](https://documentation.decisions.com/v9/docs/reading-logs) aims to provide guidance on reading and comprehending Log messages, empowering end users to effectively utilize the information contained within the logs.

### Log Levels

Log Levels declare the level of importance and severity of the error described in the Log. The following default types are as follows:

| Type Name | Description |
| --- | --- |
| **Info** | This provides information to the user on an occurrence and is typically used outside of error tracking. |
| **Debug** | This catches most exceptions that do not fall under the other categories. |
| **Warn** | This tracks potential issues that do not impede the process from running. These are typically less critical issues. |
| **Error** | This tracks when a process cannot complete properly. |
| **Fatal** | This is an environment-breaking level warning that stops a process (or multiple processes) from running. |

**Fatal**and**Error** types are also logged as Windows events for monitoring by external tools.

---

## External Logging

### **Logging to Database**

Admin users can configure the platform to store the Log messages in the MS SQL or Postgres database. These settings are located at **Settings > Health > Logs**. For more information on configuration, refer to [Write Logs to MSSQL and PostgreSQL](https://documentation.decisions.com/docs/creating-a-database-in-mssql-for-decisions?highlight=mssql).

### **Logging to Cloud Storage**

Storing Logs on the cloud helps to centralize them and manage them efficiently when the server is hosted in a clustered environment. Administrators have the option for external logging and profiling through cloud monitoring services. [](/v9/docs/setting-up-azure-log-analytics-for-integration-with-decisions)

- [Azure Log Analytics](/v9/docs/setting-up-azure-log-analytics-for-integration-with-decisions)[](/v9/docs/setting-up-aws-cloudwatch-logging)[](/v9/docs/setting-up-aws-cloudwatch-logging)
- [AWS Cloudwatch](/v9/docs/setting-up-aws-cloudwatch-logging)[](https://documentation.decisions.com/v9/docs/setting-up-grafana-loki-logging)
- [Grafana Loki](https://documentation.decisions.com/v9/docs/setting-up-grafana-loki-logging)

---

## Logging in different Infrastructure

### [Multi-Tenant Environment](https://documentation.decisions.com/v9/docs/about-multi-tenancy)

If the Control instance and Tenant instance are hosted on the same machine, the logs for the control instance can be located at the default path **C:\Program Files\Decisions\Decisions Server\Logs**. As for the Tenant Instance, the logs are stored in **C:\Program Files\Decisions\Decisions Server\Logs\[tenant_name]**, with the file name being **[tenant_name].Core.log**.

If the Tenants are hosted on different machines, the Log files can be found at the same as the Control instances path.

### [Clustered Environment](https://documentation.decisions.com/v9/docs/about-clustering)

In a clustered environment, all nodes share a common database and file storage. Consequently, each node generates its own logs, which are stored in the default directory **C:\Program Files\Decisions\Decisions Server\Logs.**

To centralize the logs of all the nodes, admin users must send logs to the [cloud logging service](/v9/docs/logging-overview#logging-to-cloud-storage).

### [Logging in Containers](https://documentation.decisions.com/v9/docs/containers-overview)

**Volume Mapping:** To persistently store files from containers, users must volume map the containers with the file storage. Volume mapping establishes a connection between the container and physical storage for file retention.

Decisions default persistent storage in the container is at **/opt/decisions/data**. Users can establish a shared storage space by mapping a directory on the host machine with **/opt/decisions/data**in containers.

**Example:** In the following example, the storage path `D:\Decisions\FileStorage` is mapped with `opt/decisions/data`.

```powershell
docker run -p [host port]:[container port] --name [CONTAINER_NAME] -v D:\Decisions\FileStorage:/opt/decisions/data --env-file="[ENVIRONMENT_FILE_PATH]" [IMAGE_NAME]
```

---

## [Log Step](https://documentation.decisions.com/v9/docs/using-the-log-step)

The **Log** step is a **Flow Step** used to define a specific Log category and a Log message. Use this step to create new logs and/or [Custom Log Categories](/v9/docs/creating-custom-log-files) detailing execution data of its connected Workflow.

The resulting **Logs**are viewed via **Settings > Health > Logs** within a Designer Folder or in the Logs folder via **Local File System**.

---

## [Logging Settings](https://documentation.decisions.com/v9/docs/logging-settings)

The **Logging****Settings**found in **Settings > Health > Logs** in the **Designer Folder******can be used by **Administrators**to establish and edit settings about **Logging**at both the **Local**and **Global**levels.

Additional Information on Logging Settings **Logging****Settings**in the **Decisions****Studio**alter the contents of both the [**Settings.xml**](/v9/docs/system-settings-overview-settings-xml) and the **LogSettings.json** files.  
  
Logging Settings can be adjusted by right-clicking **Settings > Health > Logs******and selecting**Edit Log Settings**. This Folder also contains a Report displaying **System****Logs**. 

---

## [](https://documentation.decisions.com/v9/docs/logging-settings)

### **Feature Changes**

| Description | Version | Release Date | Developer Task |
| --- | --- | --- | --- |
| Added a new action on Logs Dashboard that enables Users to download all logs into a Zip file. | [9.1](https://documentation.decisions.com/v99/docs/version-91x-release-notes?highlight=%5BDT-040505%5D%20Projects%3A%20Settings%20-%20Health%20-%20Logs%3A%20Add%20an%20action%20to%20zip%20up%20all%20log%20files%20and%20present%20them%20to%20user%20for%20download%20on%20the%20folder.) | September 2024 | [DT-040505] |

For further information on Settings, visit the [Decisions Forum](https://community.decisions.com/categories/Settings).
