Skip to content

Commit 574da2a

Browse files
authored
Merge pull request #187421 from ArvindHarinder1/patch-236
Update on-premises-ecma-troubleshoot.md
2 parents 494b28e + d3bc0df commit 574da2a

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

articles/active-directory/app-provisioning/on-premises-ecma-troubleshoot.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: karenhoran
77
ms.service: active-directory
88
ms.workload: identity
99
ms.topic: overview
10-
ms.date: 11/19/2021
10+
ms.date: 02/03/2022
1111
ms.subservice: hybrid
1212
ms.author: billmath
1313
ms.collection: M365-identity-device-management
@@ -56,7 +56,7 @@ To resolve the following issues, run the ECMA host as an admin:
5656
5757
## Turn on verbose logging
5858
59-
By default, `switchValue` for the ECMA Connector Host is set to `Error`. This setting means it will only log events that are errors. To enable verbose logging for the ECMA host service or wizard, set `switchValue` to `Verbose` in both locations as shown.
59+
By default, `switchValue` for the ECMA Connector Host is set to `Verbose`. This will emit detailed logging that will help you troubleshoot issues. You can change the verbosity to `Error` if you would like to limit the number of logs emitted to only errors. Wen using the SQL connector without Windows Integrated Auth, we recommend setting the `switchValue` to `Error` as it will ensure that the connection string is not emitted in the logs. In order to change the verbosity to error, please update the `switchValue` to "Error" in both places as shown below.
6060
6161
The file location for verbose service logging is C:\Program Files\Microsoft ECMA2Host\Service\Microsoft.ECMA2Host.Service.exe.config.
6262
```
@@ -70,30 +70,30 @@ The file location for verbose service logging is C:\Program Files\Microsoft ECMA
7070
</appSettings>
7171
<system.diagnostics>
7272
<sources>
73-
<source name="ConnectorsLog" switchValue="Verbose">
73+
<source name="ConnectorsLog" switchValue="Error">
7474
<listeners>
7575
<add initializeData="ConnectorsLog" type="System.Diagnostics.EventLogTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="ConnectorsLog" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, Callstack">
7676
<filter type=""/>
7777
</add>
7878
</listeners>
7979
</source>
8080
<!-- Choose one of the following switchTrace: Off, Error, Warning, Information, Verbose -->
81-
<source name="ECMA2Host" switchValue="Verbose">
81+
<source name="ECMA2Host" switchValue="Error">
8282
<listeners>
8383
<add initializeData="ECMA2Host" type="System.Diagnos
8484
```
8585
86-
The file location for verbose wizard logging is C:\Program Files\Microsoft ECMA2Host\Wizard\Microsoft.ECMA2Host.ConfigWizard.exe.config.
86+
The file location for wizard logging is C:\Program Files\Microsoft ECMA2Host\Wizard\Microsoft.ECMA2Host.ConfigWizard.exe.config.
8787
```
88-
<source name="ConnectorsLog" switchValue="Verbose">
88+
<source name="ConnectorsLog" switchValue="Error">
8989
<listeners>
9090
<add initializeData="ConnectorsLog" type="System.Diagnostics.EventLogTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="ConnectorsLog" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, Callstack">
9191
<filter type=""/>
9292
</add>
9393
</listeners>
9494
</source>
9595
<!-- Choose one of the following switchTrace: Off, Error, Warning, Information, Verbose -->
96-
<source name="ECMA2Host" switchValue="Verbose">
96+
<source name="ECMA2Host" switchValue="Error">
9797
<listeners>
9898
<add initializeData="ECMA2Host" type="System.Diagnostics.EventLogTraceListener, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="ECMA2HostListener" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, Callstack" />
9999
```

includes/active-directory-app-provisioning-sql.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ This document describes the steps you need to perform to automatically provision
22

33
For important details on what this service does, how it works, and frequently asked questions, see [Automate user provisioning and deprovisioning to SaaS applications with Azure Active Directory](../articles/active-directory/app-provisioning/user-provisioning.md).
44

5+
>[!IMPORTANT]
6+
>The default verbosity of the logs is set to `Verbose`. If you are using the SQL connector without Windows Integrated Auth, please set the verbosity to `Error` as described [here](https://docs.microsoft.com/azure/active-directory/app-provisioning/on-premises-ecma-troubleshoot#turn-on-verbose-logging).
7+
58
## Prerequisites for provisioning to a SQL Database
69

710
### On-premises prerequisites

0 commit comments

Comments
 (0)