---
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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Roles][]. It is one of the [System Parameters][] applied in [How a new Log Database is created][].

<h2 id="at-a-glance"><i class="fal fa-table" aria-hidden="true"></i> At a Glance</h2>

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

## <i class="fal fa-gears" aria-hidden="true"></i> 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][].

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>List every distinct service account that the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> <a href="https://docs.nodinite.com/core-services/overview/">Core Services</a> run as. Accounts that are missing can't read or write the new Log Database.</p></div>
</aside>

## <i class="fal fa-code" aria-hidden="true"></i> Value Format

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

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

## <i class="fal fa-lightbulb" aria-hidden="true"></i> 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.

## <i class="fal fa-question" aria-hidden="true"></i> 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.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-user-secret" aria-hidden="true"></i> [LogAccessRoles][]  
* <i class="fal fa-database" aria-hidden="true"></i> [Log Databases][]  
* <i class="fal fa-list" aria-hidden="true"></i> [Manage Log Databases][]  
* <i class="fal fa-pen-to-square" aria-hidden="true"></i> [Manage System Parameters][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

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

[AOAG Prerequisites]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/always-on-availability-groups/#dba-and-installer-prerequisites
[AvailabilityGroupBackupPath]:https://docs.nodinite.com/administration/settings/system-parameters/availabilitygroupbackuppath/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[CreateLogDB]:https://docs.nodinite.com/core-services/log-databases/features/create-new-log-databases-manually/
[DatabaseMaintenance]:https://docs.nodinite.com/administration/settings/system-parameters/databasemaintenance/
[DaysToSplitDatabaseOn]:https://docs.nodinite.com/administration/settings/system-parameters/daystosplitdatabaseon/
[How a new Log Database is created]:https://docs.nodinite.com/administration/settings/system-parameters/sizetosplitdatabaseon/#how-a-new-log-database-is-created
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Log Audits]:https://docs.nodinite.com/administration/tools/log-audit-search/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[LogAccessRoles]:https://docs.nodinite.com/administration/settings/system-parameters/logaccessroles/
[LogDatabaseName]:https://docs.nodinite.com/administration/settings/system-parameters/logdatabasename/
[LogDatabaseRecovery]:https://docs.nodinite.com/administration/settings/system-parameters/logdatabaserecovery/
[LogDBSR]:https://docs.nodinite.com/core-services/log-databases/getting-started/prerequisites/#fa-database-what-sql-rights-does-the-log-database-require
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[LogLocations]:https://docs.nodinite.com/administration/settings/system-parameters/loglocations/
[Manage Log Databases]:https://docs.nodinite.com/administration/settings/log-databases/overview/
[Manage System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/manage-system-parameters/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[SizeToSplitDatabaseOn]:https://docs.nodinite.com/administration/settings/system-parameters/sizetosplitdatabaseon/
[SQL Server Sysadmin Requirements]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/sql-server-sysadmin-requirements/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/