LogServiceUsers - System Parameter
Section titled “LogServiceUsers - System Parameter”LogServiceUsers lists the service accounts that the Logging Service gives access to on each new Log Database. 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.
At a Glance
Section titled “ 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 |
How It Works
Section titled “ 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 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.
Value Format
Section titled “ Value Format”A semicolon-separated list of Windows accounts in DOMAIN\Account form, without spaces:
DOMAIN\ServiceUser1;DOMAIN\ServiceUser2Choosing a Value
Section titled “ 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.
Frequently Asked Questions
Section titled “ Frequently Asked Questions”Can I assign access rights manually?
Section titled “Can I assign access rights manually?”Yes, and you must when you create Log Databases manually 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 and the Prerequisites & Permissions checklist on the Core Services page list what each service needs.