---
title: How to Manage and Optimize the Nodinite Logging Service – Security, Performance, and Settings
description: "Manage and fine-tune the Nodinite Logging Service: which settings live in System Parameters and which in the Nodinite Portal, how to change them without a restart, and answers about context masking, Repository automapping, and Log Database disks."
---

# Managing the Logging Service

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Logging Service][] comes installed with default settings that get most environments started. Depending on your business needs, compliance demands, and actual workload, you may need to fine-tune it. This page explains where each kind of setting lives and how to change it safely.

|<i class="fal fa-user-secret" aria-hidden="true"></i> Secure|<i class="fal fa-sliders-h" aria-hidden="true"></i> Tune|<i class="fal fa-gears" aria-hidden="true"></i> Settings|  
|---|---|---|  
|Protects your data|Maximizes performance|General settings|  

## <i class="fal fa-sitemap" aria-hidden="true"></i> Where Logging Service Settings Live

The Logging Service has two kinds of settings, and they are changed in different places:

![System Parameters filtered in turn on AllowRepositoryAutomapping (opened, true or false, closed without saving), ProtectedContextValues, ContextPropertiesFilters, and LogLocations, animated walkthrough (7.12)][1]  
*Animated walkthrough: in **Administration** › **Settings** › [System Parameters][], filter on the four parameters the questions below are about. [AllowRepositoryAutomapping][] lets [Log Events][] create and update the [Repository Model][], [ProtectedContextValues][] masks sensitive Context Values when they are shown, [ContextPropertiesFilters][] removes Context properties before they are stored, and [LogLocations][] sets the disks for new [Log Databases][].*  

| Setting | Where you change it | Takes effect |
| --- | --- | --- |
| Behaviour: retention, cleanup, [Log Databases][], message processing, Repository automapping | [System Parameters][] in the [Web Client][] (**Administration** › **Settings** › **System Parameters**) | No restart needed. When depends on who reads the parameter and how long it's cached: the [Web API][] within about 15 seconds; the Logging Service reads [AllowRepositoryAutomapping][] again within 5 minutes and [ContextPropertiesFilters][] within 15 minutes. Each parameter page states the exact timing |
| Hosting: server, port, service identity, TLS certificate | The [Nodinite Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, [Step 2: Auth][Portal Service account defaults] and [Step 4: Servers][Portal Core platform services] | The next time you run the generated package ([Update Logging Service][Update]) |
| Logging from Microsoft BizTalk Server | The BizTalk [Log Agent][Log Agents] configuration, see [Logging from BizTalk][BizTalkOverview] | Per Log Agent |

*Where each kind of Logging Service setting is changed.*

Don't edit the [IIS][] site, application pool, or configuration files on the server by hand; the Portal generates them, and the next update overwrites manual changes.

## <i class="fal fa-sliders-h" aria-hidden="true"></i> Tune the Logging Service with System Parameters

The complete, grouped list of the System Parameters that the Logging Service reads, each with its purpose, is on the [Logging Service][] start page: [Key System Parameters for Logging Service][Logging Service System Parameters]. Change a value as described in [Manage System Parameters][].

Before changing default settings, we recommend contacting our free technical [support][SupportPage] for expert guidance. The most common adjustments are:

* <i class="fal fa-calendar-times" aria-hidden="true"></i> Retention and cleanup – see [Data Retention][]
* <i class="fal fa-person-running" aria-hidden="true"></i> Message processing throughput – see [Performance][Logging Service Performance]
* <i class="fal fa-database" aria-hidden="true"></i> Log Database growth and placement – [SizeToSplitDatabaseOn][], [DaysToSplitDatabaseOn][], and [LogLocations][]

For SQL job-based cleanup of retired Log Databases, see [Automating Log Database Cleanup][].

## <i class="fal fa-question" aria-hidden="true"></i> Frequently Asked Questions

Find answers to common questions and troubleshooting tips on the [Troubleshooting][] page.

### How do I protect sensitive Context Values?

In the [Web Client][], Context properties can be masked.

The [Web Client][] provides self-service access of logged data for your [Users][] with [Role][Roles] based security to [Log Views][]. An administrator may have given [Users][] the right to view Context Data, which in turn may include passwords for FTPs when, for example, using Dynamic [Send Ports][] in BizTalk. You may want to mask these values for some Context Values. This setting is controlled by the **'[ProtectedContextValues][]'** [System Parameter][System Parameters]. The [Web API][] applies it whenever it returns an event's Context Values, so it covers the [Web Client][], the Repair and Resend dialogs, and calls to the API alike. A protected key shows its `DisplayValue`, or `********` when none is set.

To remove Context properties before they are stored at all, use the Logging Service parameter [ContextPropertiesFilters][].

### How do I enable/disable population of the Repository Model from Log Events?

This setting is controlled by the **'[AllowRepositoryAutomapping][]'** [System Parameter][System Parameters] (default `true`). It creates and updates [Repository Model][] entities from the [Log Events][] that the Logging Service processes. The Logging Service reads a changed value within 5 minutes.

### How do I control which disks to use when the Logging Service creates new databases?

You can determine based on either [amount][SizeToSplitDatabaseOn] or [age][DaysToSplitDatabaseOn] when the [Logging Service][] should spawn new [Log Databases][]. New [Log Databases][] are created by the Logging Service by running a DACPAC package. This process will either honor SQL Server default settings for disks to use for the **Data** and **Transaction Log** or you can provide information about your own set of disks.

This setting is controlled by the **'[LogLocations][]'** [System Parameter][System Parameters].

### How do I change the port or service account of the Logging Service?

Change the value in the [Nodinite Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> ([Step 4: Servers][Portal Core platform services]), download the package again, and run it as described in [Update Logging Service][Update]. Grant a new service account the rights in [Accounts and Rights at a Glance][Prerequisites Accounts] first, on every SQL Server instance and Always On node, and keep the other [Core Service][Core Services] identities in [LogServiceUsers][]; otherwise the Logging Service can't create the next [Log Database][Log Databases] or grant access on it.

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

* <i class="fal fa-sliders-h" aria-hidden="true"></i> [Key System Parameters for Logging Service][Logging Service System Parameters]  
* <i class="fal fa-key" aria-hidden="true"></i> [Manage System Parameters][]  
* <i class="fal fa-clipboard-question" aria-hidden="true"></i> [Troubleshooting][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-hard-drive" aria-hidden="true"></i> [Logging Service][]  
* <i class="fal fa-clipboard-check" aria-hidden="true"></i> [Prerequisites][]  
* <i class="fal fa-key" aria-hidden="true"></i> [System Parameters][]  
* <i class="fal fa-search" aria-hidden="true"></i> [Log Views][]  
* <i class="fal fa-database" aria-hidden="true"></i> [Log Databases][]  
* <i class="fal fa-user" aria-hidden="true"></i> [Users][]  
* <i class="fal fa-globe" aria-hidden="true"></i> [Web Client][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/CoreServices/LoggingService/LoggingService_ManageSettings.gif

[AllowRepositoryAutomapping]:https://docs.nodinite.com/administration/settings/system-parameters/allowrepositoryautomapping/
[Automating Log Database Cleanup]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/automating-removal-of-old-log-databases/
[BizTalkOverview]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-logging/overview/
[ContextPropertiesFilters]:https://docs.nodinite.com/administration/settings/system-parameters/contextpropertiesfilters/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Data Retention]:https://docs.nodinite.com/core-services/logging-service/overview/#data-retention
[DaysToSplitDatabaseOn]:https://docs.nodinite.com/administration/settings/system-parameters/daystosplitdatabaseon/
[IIS]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/overview/
[Log Agents]:https://docs.nodinite.com/administration/log-management/log-agents/features/what-is-a-log-agent/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[Log Events]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[Logging Service Performance]:https://docs.nodinite.com/core-services/logging-service/overview/#fa-person-running-performance
[Logging Service System Parameters]:https://docs.nodinite.com/core-services/logging-service/overview/#system-parameters
[LogLocations]:https://docs.nodinite.com/administration/settings/system-parameters/loglocations/
[LogServiceUsers]:https://docs.nodinite.com/administration/settings/system-parameters/logserviceusers/
[Manage System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/manage-system-parameters/
[NodinitePortal]:https://portal.nodinite.com/
[Portal Core platform services]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-platform-services
[Portal Service account defaults]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/02-auth/#service-account-defaults
[Prerequisites]:https://docs.nodinite.com/core-services/logging-service/getting-started/prerequisites/
[Prerequisites Accounts]:https://docs.nodinite.com/core-services/logging-service/getting-started/prerequisites/#fa-user-shield-accounts-and-rights-at-a-glance
[ProtectedContextValues]:https://docs.nodinite.com/administration/settings/system-parameters/protectedcontextvalues/
[Repository Model]:https://docs.nodinite.com/repository-model/overview/
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[Send Ports]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/send-ports/overview/
[SizeToSplitDatabaseOn]:https://docs.nodinite.com/administration/settings/system-parameters/sizetosplitdatabaseon/
[SupportPage]:https://docs.nodinite.com/getting-started/support/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Troubleshooting]:https://docs.nodinite.com/core-services/logging-service/troubleshooting/overview/
[Update]:https://docs.nodinite.com/core-services/logging-service/updating/
[Users]:https://docs.nodinite.com/administration/access-management/users/features/what-is-a-user/
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/
[Web Client]:https://docs.nodinite.com/getting-started/overview/