Skip to content
Documentation
Updated 3 minutes to read
Markdown

Normally the Logging Service creates every Log Database itself: the first one when it starts for the first time, and the next ones when the online one gets too large or too old (see How a new Log Database is created). Manual Log Database creation is for environments where that can't happen: the Logging Service account doesn't get the SQL Server rights to create databases, or your DBAs must create every database themselves.

Administration Log Databases: Add Log Database, Database Nodinite_DEV_Log_20261201 already deployed from the DACPAC, Linked Server localhost, Archive Database unticked, Start date-time 2026-12-01, End date-time read-only, Save and close; the list then shows the new Log Database from 2026-12-01 with Version 5.4.0.5, and the previous one with End Date 2026-12-01, animated walkthrough (7.12)
Animated walkthrough: a Log Database deployed by a DBA is registered for December 2026. Saving gives the online Log Database that Start date-time as its End Date, so the new one takes over from 2026-12-01.

  • Security policies – the Logging Service account may not have dbcreator or sysadmin; see SQL Server Sysadmin Requirements.
  • Planned periods – you want to create Log Databases in advance, for example one per quarter.
  • Always On Availability Groups – your DBAs add every database to the availability group themselves; see Always On Availability Groups.
  • Network segmentation – the Log Database lives on an instance the Logging Service can't create databases on.

Name the database per the LogDatabaseName pattern, for example Nodinite_Prod_Log_20260101, where the environment part comes from EnvironmentName and the date is the start of the period. For a database you create yourself the date is your choice; a Log Database the Logging Service creates is named after its UTC creation date.

Deploy the Log Database DACPAC with SqlPackage.exe, the same way the Update Log Database guide deploys schema updates. Use a command from the guide's Command Line Scripts step, set /TargetDatabaseName to the new name, and add /p:RegisterDataTierApplication=True. Nodinite reads the database version from that data-tier application registration; without it, the Log Databases list shows Version 0.0.0.0 with the update arrow. Keep the recovery model and file locations consistent with LogDatabaseRecovery and LogLocations. Use the latest DacFx version (SqlPackageExecutable).

Give every account in LogServiceUsers the database roles in LogAccessRoles on the new database. The rights per Core Service are listed in Prerequisites.

Step 4: Register the Log Database in Nodinite

Section titled “Step 4: Register the Log Database in Nodinite”
  1. In the Web Client, open Administration › Log Databases and click Add Log Database (Add or manage a Log Database).
  2. Enter the Database name and the Linked Server / Listener Name, for example localhost when the database is on the SQL Server of the Configuration Database, otherwise the name of the linked server.
  3. Untick Archive Database: you register a new, empty Log Database.
  4. Set the Start date-time, the first moment of its period. End date-time is read-only: Nodinite sets it when the database becomes an archive.
  5. Click Save and close.

On save, the online Log Database gets the new Start date-time as its End Date, and the new Log Database becomes the online one. Events dated before that Start date-time still go to the previous Log Database, so you can register a planned database in advance. Register planned databases one at a time, in date order: each registration ends the online Log Database at its Start date-time.

Keep Archive Database ticked only when you register an existing database that holds data, for example a restored archive; see Archive Database.

...

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