---
title: LogServiceUsers System Parameter – Service Accounts for New Log Databases
description: LogServiceUsers lists the service accounts the Nodinite Logging Service grants access to on each new Log Database, using the roles in LogAccessRoles. Include every Core Services account.
---

# LogServiceUsers - System Parameter

**LogServiceUsers** lists the service accounts that the [Logging Service][] gives access to on each new [Log Database][Log Databases]. Each account gets the SQL Server database roles in [LogAccessRoles][], which are not :Nodinite: [Roles][]. It is one of the [System Parameters][] applied in [How a new Log Database is created][].

## :fa-table: At a Glance {#at-a-glance}

| Property | Value |
| --- | --- |
| Key | `LogServiceUsers` |
| Data type | string (accounts, separated by semicolons) |
| Default | Empty |
| Read by | [Logging Service][] |
| Takes effect | Within about 15 seconds; no restart needed. Applies to the next Log Database the Logging Service creates. |
| Status | ✅ Active |
| Since | Nodinite 3; renamed from `ImLogServiceUsers` in Nodinite 7 |

## :fa-gears: How It Works

When the Logging Service creates a new Log Database, it gives every account in this list access with the roles in [LogAccessRoles][]. The two parameters work as a pair: LogServiceUsers says **who**, LogAccessRoles says **what**. Existing Log Databases are not changed.

The Logging Service account needs `sysadmin`, or `dbcreator`, `diskadmin`, and `securityadmin`, to create Log Databases and grant access on them. Each account's login must already exist on the instance; for a missing one, the grant fails, a Critical [Log Audit][Log Audits] says *Failed to grant the role*, and the Log Database is still created. The Logging Service skips its own account and `sa`, and saving this parameter changes nothing on the existing Log Databases. See [SQL Server Sysadmin Requirements][].

>[!IMPORTANT]
>List every distinct service account that the :Nodinite: [Core Services][] run as. Accounts that are missing can't read or write the new Log Database.

## :fa-code: Value Format

A semicolon-separated list of Windows accounts in `DOMAIN\Account` form, without spaces:

```text
DOMAIN\ServiceUser1;DOMAIN\ServiceUser2
```

## :fa-lightbulb: Choosing a Value

* Include the accounts of the [Logging Service][], the [Monitoring Service][], and the application pools of the [Web API][] and [Log API][]; list each account only once. Following least privilege, list no other accounts.
* Each account needs a login on the SQL Server instance that hosts the Log Databases.
* Update the list whenever you change a service account, before the next Log Database is created.

## :fa-question: Frequently Asked Questions

### Can I assign access rights manually?

Yes, and you must when you [create Log Databases manually][CreateLogDB] or a login was missing when the Log Database was created. Grant the [LogAccessRoles][] roles to these accounts; the [SQL rights for the Log Database][LogDBSR] and the *Prerequisites & Permissions* checklist on the [Core Services][] page list what each service needs.

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

* :fa-user-secret: [LogAccessRoles][]  
* :fa-database: [Log Databases][]  
* :fa-list: [Manage Log Databases][]  
* :fa-pen-to-square: [Manage System Parameters][]  

## :fa-link-horizontal: Related Topics

* :fa-sort-size-up-alt: [SizeToSplitDatabaseOn][]  
* :fa-calendar-day: [DaysToSplitDatabaseOn][]  
* :fa-database: [LogDatabaseName][]  
* :fa-disc-drive: [LogLocations][]  
* :fa-life-ring: [LogDatabaseRecovery][]  
* :fa-server: [AvailabilityGroupBackupPath][]  
* :fa-server: [Always On Availability Groups – logins on every replica][AOAG Prerequisites]  
* :fa-tools: [DatabaseMaintenance][]  
* :fa-shield-halved: [SQL Server Sysadmin Requirements][]  
* :fa-hard-drive: [Logging Service][]  
* :fa-sliders: [System Parameters][]  

[AOAG Prerequisites]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Always%20On%20Availability%20Groups.md#dba-and-installer-prerequisites
[AvailabilityGroupBackupPath]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/AvailabilityGroupBackupPath.md
[Core Services]:{ndr}/Core%20Services/Overview.md
[CreateLogDB]:{ndr}/Core%20Services/Log%20Databases/Features/Create%20new%20Log%20Databases%20Manually.md
[DatabaseMaintenance]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/DatabaseMaintenance.md
[DaysToSplitDatabaseOn]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/DaysToSplitDatabaseOn.md
[How a new Log Database is created]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/SizeToSplitDatabaseOn.md#how-a-new-log-database-is-created
[Log API]:{ndr}/Core%20Services/Log%20API/Overview.md
[Log Audits]:{ndr}/Administration/6.%20Tools/2.%20Log%20Audit%20Search.md
[Log Databases]:{ndr}/Core%20Services/Log%20Databases/Overview.md
[LogAccessRoles]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogAccessRoles.md
[LogDatabaseName]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogDatabaseName.md
[LogDatabaseRecovery]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogDatabaseRecovery.md
[LogDBSR]:{ndr}/Core%20Services/Log%20Databases/Getting%20started/1.%20Prerequisites.md#fa-database-what-sql-rights-does-the-log-database-require
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md
[LogLocations]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogLocations.md
[Manage Log Databases]:{ndr}/Administration/5.%20Settings/2.%20Log%20Databases/Overview.md
[Manage System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Manage%20System%20Parameters.md
[Monitoring Service]:{ndr}/Core%20Services/Monitoring%20Service/Overview.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[SizeToSplitDatabaseOn]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/SizeToSplitDatabaseOn.md
[SQL Server Sysadmin Requirements]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/SQL%20Server%20Sysadmin%20Requirements.md
[System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Overview.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md