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

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

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

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

## <i class="fal fa-code" aria-hidden="true"></i> 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 |
| --- | --- | --- |
| <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 7 | `Nodinite_<EnvironmentName>_Log_{year}{month}{day}` | `Nodinite_Prod_Log_20251028` |
| Before <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 7 | `NodiniteLog_<EnvironmentName>_{year}{month}{day}` | `NodiniteLog_Prod_20251028` |

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

## <i class="fal fa-lightbulb" aria-hidden="true"></i> Choosing a Value

* Keep the installer's value unless you have a naming standard to follow.
* Include the environment name, so several <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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.

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

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

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/CoreServices/ConfigurationDatabase/SystemParameters/LogDatabaseName.png

[AvailabilityGroupBackupPath]:https://docs.nodinite.com/administration/settings/system-parameters/availabilitygroupbackuppath/
[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/
[EnvironmentName]:https://docs.nodinite.com/administration/settings/system-parameters/environmentname/
[How a new Log Database is created]:https://docs.nodinite.com/administration/settings/system-parameters/sizetosplitdatabaseon/#how-a-new-log-database-is-created
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[LogAccessRoles]:https://docs.nodinite.com/administration/settings/system-parameters/logaccessroles/
[LogDatabaseRecovery]:https://docs.nodinite.com/administration/settings/system-parameters/logdatabaserecovery/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[LogLocations]:https://docs.nodinite.com/administration/settings/system-parameters/loglocations/
[LogServiceUsers]:https://docs.nodinite.com/administration/settings/system-parameters/logserviceusers/
[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/
[SizeToSplitDatabaseOn]:https://docs.nodinite.com/administration/settings/system-parameters/sizetosplitdatabaseon/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/