Skip to content
Documentation
Updated 2 minutes to read
Markdown

LogAccessRoles lists the SQL Server database roles that the Logging Service grants on each new Log Database to the service accounts in LogServiceUsers. These are SQL Server roles, not Nodinite Roles. It is one of the System Parameters applied in How a new Log Database is created.

Property Value
Key LogAccessRoles
Data type string (database roles, separated by semicolons)
Default db_datareader;db_datawriter;db_ddladmin
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 ImLogAccessRoles in Nodinite 7

When the Logging Service creates a new Log Database, it gives every account in LogServiceUsers access to it with each role in this list. 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 assign the roles: it runs CREATE USER ... FOR LOGIN in each new Log Database and adds the user to each role. The 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. See SQL Server Sysadmin Requirements.

A semicolon-separated list of SQL Server database roles, without spaces:

db_datareader;db_datawriter;db_ddladmin
  • Keep the default; it follows the principle of least privilege and is what the Nodinite Core Services are set up to use.
  • Change it only when your DBA requires a different model, for example a custom role your organization uses, and check that every service still works against the next new Log Database.

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

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...