---
title: LogDatabaseName System Parameter – Naming Pattern for Log Databases
description: LogDatabaseName sets the naming pattern for Log Databases the Nodinite Logging Service creates, such as Nodinite_Prod_Log_{year}{month}{day}. Learn the placeholders and how to pick a pattern.
---

# LogDatabaseName - System Parameter

**LogDatabaseName** sets the naming pattern the [Logging Service][] uses when it creates a new [Log Database][Log Databases]. 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 | `LogDatabaseName` |
| Data type | string |
| Default | Set by the installer: `Nodinite_<EnvironmentName>_Log_{year}{month}{day}` |
| 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 |

## :fa-gears: How It Works

When the online Log Database reaches [SizeToSplitDatabaseOn][] or [DaysToSplitDatabaseOn][], the Logging Service builds the name of the new Log Database from this pattern. Existing Log Databases keep their names; changing the pattern affects only Log Databases created afterwards.

![LogDatabaseName System Parameter in the Web Client (7.x)][1]  
*The installer has written the environment name `DEV` into the pattern; the date placeholders remain.*  

## :fa-code: Value Format

The value is plain text with three placeholders, which the Logging Service replaces with the creation date of the new Log Database:

| Placeholder | Replaced with | Example |
| --- | --- | --- |
| `{year}` | Year | `2025` |
| `{month}` | Month | `10` |
| `{day}` | Day | `28` |

The installer writes your [EnvironmentName][] into the value as plain text. Documentation writes this part as `%environmentname%`, for example `Nodinite_%environmentname%_Log_{year}{month}{day}`; it is not a placeholder the Logging Service replaces.

| Installation | Pattern | Example name |
| --- | --- | --- |
| :Nodinite: 7 | `Nodinite_<EnvironmentName>_Log_{year}{month}{day}` | `Nodinite_Prod_Log_20251028` |
| Before :Nodinite: 7 | `NodiniteLog_<EnvironmentName>_{year}{month}{day}` | `NodiniteLog_Prod_20251028` |

Log Databases created before an upgrade keep their old names; see [Log Databases][].

## :fa-lightbulb: Choosing a Value

* Keep the installer's value unless you have a naming standard to follow.
* Include the environment name, so several :Nodinite: environments can share one SQL Server instance without name conflicts.
* Keep the date placeholders, so every new Log Database gets a unique name.
* Keep the `Nodinite` prefix if your DBA excludes :Nodinite: databases from other maintenance jobs by name (see [DatabaseMaintenance][]).
* SQL Server database naming rules apply; letters, digits, hyphens, and underscores are safe.
* When you [create Log Databases manually][CreateLogDB], name them with the same pattern.

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

* :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-disc-drive: [LogLocations][]  
* :fa-life-ring: [LogDatabaseRecovery][]  
* :fa-user-secret: [LogAccessRoles][]  
* :fa-users-class: [LogServiceUsers][]  
* :fa-server: [AvailabilityGroupBackupPath][]  
* :fa-tools: [DatabaseMaintenance][]  
* :fa-tag: [EnvironmentName][]  
* :fa-hard-drive: [Logging Service][]  
* :fa-sliders: [System Parameters][]  

[1]:{ndm}/Documentation%20Pictures/IM/CoreServices/ConfigurationDatabase/SystemParameters/LogDatabaseName.png

[AvailabilityGroupBackupPath]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/AvailabilityGroupBackupPath.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
[EnvironmentName]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/EnvironmentName.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 Databases]:{ndr}/Core%20Services/Log%20Databases/Overview.md
[LogAccessRoles]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogAccessRoles.md
[LogDatabaseRecovery]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogDatabaseRecovery.md
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md
[LogLocations]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogLocations.md
[LogServiceUsers]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogServiceUsers.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
[SizeToSplitDatabaseOn]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/SizeToSplitDatabaseOn.md
[System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Overview.md