---
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 :Nodinite: [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.

|:fa-user-secret: Secure|:fa-sliders-h: Tune|:fa-gears: Settings|  
|---|---|---|  
|Protects your data|Maximizes performance|General settings|  

## :fa-sitemap: 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>:fa-arrow-up-right-from-square:</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.

## :fa-sliders-h: 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:

* :fa-calendar-times: Retention and cleanup – see [Data Retention][]
* :fa-person-running: Message processing throughput – see [Performance][Logging Service Performance]
* :fa-database: Log Database growth and placement – [SizeToSplitDatabaseOn][], [DaysToSplitDatabaseOn][], and [LogLocations][]

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

## :fa-question: 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>:fa-arrow-up-right-from-square:</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.

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

* :fa-sliders-h: [Key System Parameters for Logging Service][Logging Service System Parameters]  
* :fa-key: [Manage System Parameters][]  
* :fa-clipboard-question: [Troubleshooting][]  

## :fa-link-horizontal: Related Topics

* :fa-hard-drive: [Logging Service][]  
* :fa-clipboard-check: [Prerequisites][]  
* :fa-key: [System Parameters][]  
* :fa-search: [Log Views][]  
* :fa-database: [Log Databases][]  
* :fa-user: [Users][]  
* :fa-globe: [Web Client][]  

[1]:{ndm}/Documentation%20Pictures/IM/CoreServices/LoggingService/LoggingService_ManageSettings.gif

[AllowRepositoryAutomapping]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/AllowRepositoryAutomapping.md
[Automating Log Database Cleanup]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Automating%20removal%20of%20old%20Log%20Databases.md
[BizTalkOverview]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Logging/Overview.md
[ContextPropertiesFilters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/ContextPropertiesFilters.md
[Core Services]:{ndr}/Core%20Services/Overview.md
[Data Retention]:{ndr}/Core%20Services/Logging%20Service/Overview.md#data-retention
[DaysToSplitDatabaseOn]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/DaysToSplitDatabaseOn.md
[IIS]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Overview.md
[Log Agents]:{ndr}/Administration/1.%20Log%20Management/3.%20Log%20Agents/Features/What%20is%20a%20Log%20Agent.md
[Log Databases]:{ndr}/Core%20Services/Log%20Databases/Overview.md
[Log Events]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md
[Logging Service Performance]:{ndr}/Core%20Services/Logging%20Service/Overview.md#fa-person-running-performance
[Logging Service System Parameters]:{ndr}/Core%20Services/Logging%20Service/Overview.md#system-parameters
[LogLocations]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogLocations.md
[LogServiceUsers]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogServiceUsers.md
[Manage System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Manage%20System%20Parameters.md
[NodinitePortal]:https://portal.nodinite.com/
[Portal Core platform services]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/04%20-%20Servers.md#core-platform-services
[Portal Service account defaults]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/02%20-%20Auth.md#service-account-defaults
[Prerequisites]:{ndr}/Core%20Services/Logging%20Service/Getting%20started/1.%20Prerequisites.md
[Prerequisites Accounts]:{ndr}/Core%20Services/Logging%20Service/Getting%20started/1.%20Prerequisites.md#fa-user-shield-accounts-and-rights-at-a-glance
[ProtectedContextValues]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/ProtectedContextValues.md
[Repository Model]:{ndr}/Repository%20Model/Overview.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[Send Ports]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Send%20Ports/Overview.md
[SizeToSplitDatabaseOn]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/SizeToSplitDatabaseOn.md
[SupportPage]:{ndr}/Getting%20Started/Support.md
[System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Overview.md
[Troubleshooting]:{ndr}/Core%20Services/Logging%20Service/Troubleshooting/Overview.md
[Update]:{ndr}/Core%20Services/Logging%20Service/Updating.md
[Users]:{ndr}/Administration/3.%20Access%20Management/2.%20Users/Features/What%20is%20a%20User.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[Web Client]:{ndr}/Getting%20Started/Overview.md