---
title: Nodinite Logging Service – FAQ and Troubleshooting Guide
description: "FAQ and troubleshooting guide for the Nodinite Logging Service: Log Events not processed, Log Databases not created, data not cleaned up, service status missing, with links to the System Parameters, SQL Server, and Windows pages that fix them."
---

# FAQ and Troubleshooting guide for the Nodinite Logging Service

Quickly resolve issues with the :Nodinite: [Logging Service][]. Most problems come from one of three places: SQL Server rights and connectivity, the [System Parameters][] that steer the service, or how the service is hosted (set in the [Nodinite Portal][NodinitePortal]<sup>:fa-arrow-up-right-from-square:</sup>). Start with the table below, then follow the links.

![The Logging Service stopped: the Status menu says Logging Service is now offline, the Log API still accepts an order, the Log View finds nothing, the Database Report counts the event as Unprocessed; started again, the Log View finds the order, animated walkthrough (7.12)][1]  
*Animated walkthrough: while the Logging Service is stopped, the [Log API][] still stores a new [Log Event][Log Events], but a [Log View][Log Views] can't find it yet. The event waits as **Unprocessed** in the [Log Database][Log Databases]. Once the service runs again, it catches up by itself. See [Where do Log Events wait while the Logging Service is stopped?](#where-do-log-events-wait-while-the-logging-service-is-stopped)*  

## :fa-stethoscope: Common Logging Service Issues

| Symptom | What to check |
| --- | --- |
| [Log Events][] stay unprocessed | The Logging Service IIS web site and application pool are started (see [How do I know if the Logging Service has stopped?][Logging Service status]). The waiting events show as **Unprocessed** in the Log Database's **Show Database Report** ([see below](#where-do-log-events-wait-while-the-logging-service-is-stopped)). [MessageProcessingBatchSize][] sets how many events each run takes; with `0`, a negative or an invalid value the Logging Service uses 100 and logs a warning. Processing runs every 30 seconds for the active Log Database and every 5 minutes for archive Log Databases ([Message Processing][Logging Service message processing]) |
| One message gets the Error processing state | Its body is larger than [MessageProcessingMaxBodySize][]; the [Comment][Comments] on the Log Event and the [Log Audit][Log Audits] say so |
| One event is **Failed** with the [Comment][Comments] *Processing State for the event was set to failed since it has no Message Type* | :new7.13: A tool wrote the event straight to the Log Database without a [Message Type][Message Types] name, and neither its context nor its body names one. The [Log Audit][Log Audits] entry (status Failed) names the [Log Agent][Log Agents] and the MessageGUID. Fix the tool so it logs through the [Log API][], which always requires a Message Type; the other events of the Log Database are processed as usual |
| No Log Database after installation, or no new one is created | The Logging Service creates the first Log Database on its first start, and later ones with the same rights. Check the SQL Server rights in [Prerequisites][Prerequisites SQL rights], and the [SqlServer][], [SqlPackageExecutable][], [LogLocations][], and (Always On) [AvailabilityGroupBackupPath][] System Parameters |
| Another [Core Service][Core Services] can't use the newest Log Database after a split | Its service identity isn't in [LogServiceUsers][] and isn't `sysadmin`, so the Logging Service didn't grant it [LogAccessRoles][] on the new database; see [Accounts and Rights at a Glance][Prerequisites Accounts] |
| Old data is not deleted | The *Days to keep* values of the [Message Types][] and the cleanup interval, see [Data Retention][] |
| The [Status menu][] says *Logging Service is now offline* | The service is stopped, or the [Web API][] can't reach it: start the service, then check the firewall rules between the Web API and the Logging Service ports ([Prerequisites][Prerequisites firewall]) |
| Slow processing or queries over Linked Servers | The **db_ddladmin** right in [Prerequisites][Prerequisites SQL rights], [Linked Servers][], and [Performance][Logging Service performance] |
| The service account can't start or reach SQL Server | [Logon as a Service right][], [gMSA accounts][], [Transactions MSDTC][], and the service account set in the Portal ([Service account defaults][Portal Service account defaults]) |

*Common Logging Service symptoms and where to look.*

No System Parameter needs a restart of the Logging Service; each parameter page states when a change takes effect.

## Where do Log Events wait while the Logging Service is stopped?

In the [Log Database][Log Databases]. The [Log API][] only stores events; the Logging Service processes them, which includes extracting the [Search Field][Search Fields] values a [Log View][Log Views] searches on. So while the service is stopped, new events are stored with the processing state **Unprocessed**, and a Log View doesn't find them yet. Nothing is lost: once the service runs again it processes the waiting events by itself.

1. Open the [Status menu][] (the bell). *Logging Service is now offline* means the Web API can't reach the service.
1. Go to **Administration** &gt; **Settings** &gt; **Log Databases** and open the online Log Database (the one without an End Date).
1. Click **Show Database Report** and open the **Data** tab.
1. The **Unprocessed** column shows how many events wait, per [Message Type][Message Types].
1. Start the Logging Service again. Within about 30 seconds the Status menu says *Logging Service is now online*, and the Log View finds the events.

## :fa-user-md: Contact our support

If you still have any questions or have trouble with the [Logging Service][], don't hesitate to get in touch with us, read more on the [Support page][SupportPage].  
Our team is ready to assist you with any challenges or special requirements.

## :fa-hand-point-right: Next Steps

* :fa-cogs: [Managing Logging Service][] - Configure and manage the service  
* :fa-sliders-h: [Key System Parameters for Logging Service][Logging Service System Parameters] - The parameters the Logging Service reads  
* :fa-arrow-turn-up: [Update Nodinite v7][Updating Nodinite v7] - Keep your installation current  
* :fa-download: [Install Nodinite v7][] - Fresh installation guide  
* :fa-wrench: [Install and Update Troubleshooting][Install Troubleshooting] - General installation issues  

## :fa-link-horizontal: Related Topics

**:fa-hard-drive: Logging Service**  

* :fa-info-circle: [Logging Service Overview][Logging Service] - Core service documentation  
* :fa-clipboard-check: [Prerequisites][] - SQL Server, Windows, and firewall requirements  
* :fa-arrows-rotate: [Updating Logging Service][Updating] - Service-specific updates  
* :fa-cog: [Managing Logging Service][] - Service configuration and management  

**:fa-sliders-h: System Parameters**  

* :fa-list: [System Parameters Overview][System Parameters] - All available parameters  
* :fa-cog: [How to Change System Parameters][Manage System Parameters] - Configuration guide  

**:fa-wrench: Install and Update Troubleshooting**  

* :fa-book: [Troubleshooting Overview][Install Troubleshooting] - Complete troubleshooting guide  
* :fa-shield-halved: [How to perform hardening][] - Security and HTTPS configuration  
* :fa-key: [Secret Management][] - Managing sensitive configuration  
* :fa-lock: [You have no access to this page][] - Permission and access issues  

**:fab fa-windows: Windows Configuration**  

* :fa-id-card: [gMSA accounts][] - Group Managed Service Accounts  
* :fa-user-shield: [Logon as a Service right][] - Service account permissions  
* :fa-certificate: [Install Certificates for gMSA][] - Certificate setup for gMSA  
* :fa-network-wired: [Transactions MSDTC][] - Distributed Transaction Coordinator  
* :fa-shield-check: [Windows FIPS Mode Compatibility][] - FIPS compliance  
* :fa-server: [IIS Authentication settings][] - Web service authentication  
* :fab fa-windows: [IIS Windows Features][] - Required IIS components  

**:fa-database: SQL Server**  

* :fa-server: [SQL Server Options][] - Database configuration and troubleshooting  
* :fa-shield-alt: [Always On Availability Groups][] - High availability setup  
* :fa-link: [Linked Servers][] - Cross-database query configuration  
* :fa-network-wired: [Firewall][] - SQL Server firewall configuration  

**:fa-gear: Administration**  

* :fa-home: [Administration Overview][Administration] - Central admin console  
* :fa-desktop: [Web Client][] - User interface documentation  
* :fa-database: [Log Databases][] - Log database management  
* :fa-server: [Core Services][] - All core services overview  

[1]:{ndm}/Documentation%20Pictures/IM/CoreServices/LoggingService/LoggingService_StoppedEventsWait.gif

[Administration]:{ndr}/Administration/Overview.md
[Always On Availability Groups]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Always%20On%20Availability%20Groups.md
[AvailabilityGroupBackupPath]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/AvailabilityGroupBackupPath.md
[Comments]:{ndr}/Getting%20Started/2.%20Log/Comments%20for%20logged%20messages.md
[Core Services]:{ndr}/Core%20Services/Overview.md
[Data Retention]:{ndr}/Core%20Services/Logging%20Service/Overview.md#data-retention
[Firewall]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Firewall.md
[gMSA accounts]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/gMSA%20accounts.md
[How to perform hardening]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/How%20to%20perform%20hardening%20on%20your%20Nodinite%20installation.md
[IIS Authentication settings]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/IIS%20Authentication%20settings.md
[IIS Windows Features]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/IIS%20Windows%20Features.md
[Install Certificates for gMSA]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Install%20Certificates%20for%20gMSA.md
[Install Nodinite v7]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7.md
[Install Troubleshooting]:{ndr}/Install%20and%20Update/Troubleshooting/Overview.md
[Linked Servers]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Linked%20Servers.md
[Log Agents]:{ndr}/Administration/1.%20Log%20Management/3.%20Log%20Agents/Features/What%20is%20a%20Log%20Agent.md
[Log API]:{ndr}/Core%20Services/Log%20API/Overview.md
[Log Audits]:{ndr}/Administration/6.%20Tools/2.%20Log%20Audit%20Search.md
[Log Databases]:{ndr}/Administration/5.%20Settings/2.%20Log%20Databases/Overview.md
[Log Events]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Overview.md
[LogAccessRoles]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogAccessRoles.md
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md
[Logging Service message processing]:{ndr}/Core%20Services/Logging%20Service/Overview.md#message-processing
[Logging Service performance]:{ndr}/Core%20Services/Logging%20Service/Overview.md#fa-person-running-performance
[Logging Service status]:{ndr}/Core%20Services/Logging%20Service/Overview.md#how-do-i-know-if-the-logging-service-has-stopped
[Logging Service System Parameters]:{ndr}/Core%20Services/Logging%20Service/Overview.md#system-parameters
[LogLocations]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogLocations.md
[Logon as a Service right]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Logon%20as%20a%20Service%20right.md
[LogServiceUsers]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogServiceUsers.md
[Manage System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Manage%20System%20Parameters.md
[Managing Logging Service]:{ndr}/Core%20Services/Logging%20Service/Features/Managing%20Logging%20Service.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[MessageProcessingBatchSize]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/MessageProcessingBatchSize.md
[MessageProcessingMaxBodySize]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/MessageProcessingMaxBodySize.md
[NodinitePortal]:https://portal.nodinite.com/
[Portal Service account defaults]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/02%20-%20Auth.md#service-account-defaults
[Prerequisites]:{ndr}/Core%20Services/Logging%20Service/Getting%20started/1.%20Prerequisites.md
[Prerequisites Accounts]:{ndr}/Core%20Services/Logging%20Service/Getting%20started/1.%20Prerequisites.md#fa-user-shield-accounts-and-rights-at-a-glance
[Prerequisites firewall]:{ndr}/Core%20Services/Logging%20Service/Getting%20started/1.%20Prerequisites.md#what-firewall-settings-are-required-for-the-logging-service
[Prerequisites SQL rights]:{ndr}/Core%20Services/Logging%20Service/Getting%20started/1.%20Prerequisites.md#what-sql-rights-does-the-logging-service-require
[Search Fields]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Overview.md
[Secret Management]:{ndr}/Install%20and%20Update/Troubleshooting/Secret%20Managment.md
[SQL Server Options]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/SQL%20Server%20Options.md
[SqlPackageExecutable]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/SqlPackageExecutable.md
[SqlServer]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/SqlServer.md
[Status menu]:{ndr}/Getting%20Started/Menu%20-%20Status.md
[SupportPage]:{ndr}/Getting%20Started/Support.md
[System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Overview.md
[Transactions MSDTC]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Transactions%20MSDTC.md
[Updating]:{ndr}/Core%20Services/Logging%20Service/Updating.md
[Updating Nodinite v7]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Updating%20Nodinite%20v7.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[Web Client]:{ndr}/Getting%20Started/Overview.md
[Windows FIPS Mode Compatibility]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Windows%20FIPS%20Mode%20Compatibility.md
[You have no access to this page]:{ndr}/Install%20and%20Update/Troubleshooting/You%20have%20no%20access%20to%20this%20page.md