How to raise Logging Level for Vault Synchronizer Logs

How to raise Logging Level for Vault Synchronizer Logs

106
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 16:05 PM


Question


How to raise Logging Level for Vault Synchronizer Logs?

Environment


12.1;12.2;12.4;12.3;12.5;12.6;12.7 Conjur Vault Conjur Synchronizer

Answer


The main configuration file for the Vault Synchronizer, VaultConjurSynchronizer.exe.config, is located in the Synchronizer installation folder.

This configuration file defines Three Levels where logging can be configured for Vault Synchronizer. Depending upon the Use Case one can use all these Three Levels or some of these to raise the logging level. These  Logging Levels can be configured in VaultConjurSynchronizer.exe.config and are described as below :

1. At root Level :  The log root level. Logs are written from the selected level and above.

To configure this log level navigate to  'configuration > log4net > root > level' 

Valid values: ALL, DEBUG, INFO, WARN, ERROR, FATAL, OFF

The highest Level is ALL.

2. Windows Event log :  The Vault Synchronizer logs are written to the Event Viewer > Application and Services Logs > Idira Vault-Conjur Synchronizer.

To configure this log level navigate to 'configuration > log4net > appender name ="eventLog"'  > Specify the LevelMin and LevelMax parameters.

Valid values: DEBUG, INFO, WARN, ERROR, FATAL

The highest Level is DEBUG.

3. At CASOS Level  : Defines which CASOS log level is used.

To configure this log level navigate to 'configuration > appSettings > CASOS_LOG_LEVEL'

Valid values:  OFF,  ERROR, DEBUG

The highest Level is DEBUG.

Note - Any change in VaultConjurSynchronizer.exe.config will require restart of ' VaultConjurSynchronizer' service to take it's effect.

 

In case VCS  installation script is failing then please  run the script via below stated method - 

msiexec /i "Idira Vault-Conjur Synchronizer.msi" /l*v "C:\Temp\sync-install-trace.log" INSTALLDIR="C:\Program Files\CyberArk\Synchronizer"

Then all API interactions with conjur and PVWA will be logged to separate trace log. 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001JNGCA2&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail