Enabling logging for cmdlets
For performance reasons, logging for cmdlets is disabled by default. To enable logging, you must modify the registry on the computer where you are running the Access Module for Windows PowerShell.
To enable logging:
- Run regedit to open the Registry Editor
- Select the HKEY_CURRENT_USER > Software > Centrify registry key.
- Right-click, then select New > Key and type CIMS.
- Select the new CIMS key, right-click, then select New > String Value with the name of LogPath.
Specify the path to the log file as the value.
For example, set the value to C: \Temp\Log
- Select the new CIMS key, right-click, then select New > DWORD (32-bit) Value with the name of TraceLevel.
Specify the level of detail to write to the log file as the value.
The valid settings are:
- 0 to disable logging.
- 1 to only log error messages.
- 2 to log errors and warning messages.
- 3 to log errors, warnings, and informational messages.
- 4 to log all debugging and tracing messages.
For example, set the value to 4 to enable detailed logging of all messages.