Quantcast
Channel: Ivanti User Community : All Content - General
Viewing all articles
Browse latest Browse all 415

LDMS 9.6 Additional Logging Options

$
0
0

Purpose


LDMS 9.6 introduced additional logging options. These options help manage the size, quantity, and the logged information. Using these options can be beneficial in troubleshooting a variety of issues.

 

Steps

  • Open Registry Editor (regedit.exe)
  • Navigate to and select the LogOptions key
    • 32Bit OS - [HKEY_LOCAL_MACHINE\SOFTWARE\landesk\managementsuite\LogOptions]
    • 64Bit OS - [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\landesk\managementsuite\LogOptions]
  • Right click desired REG_DWORD and choose Modify.
    • Set Value data to desired value
      • 0 = Off
      • 1 = On

LogOptions3.jpg

REG_DWORD

Purpose

logInfoWrite “INFO” type messages to the log
logTypeInclude the message type (INFO, WARN, XTRC etc)
logVerboseWrite verbose entries
logXTraceEnable xtrace logging (contained in the log calling the process)
maxBackupsHow many rolling logs to keep (default: 7)
maxSizeHow big to let the log get (in bytes)
showDateTimeWrite date/time for each log entry
showModuleShows the dll (module) that wrote the log line
showPIDIncludes the process ID making the log entry
showSourceShow filename and line number from source
showTIDShow thread ID
useTabsMakes the log much easier to load into Excel for review or analysis

LogOptions2.jpg

 

Log Location

When the additional logging is turned on It will write additional information into the logs at the following locations depending on the type of task being executed.

C:\ldprovisioning

C:\Program Files (x86)\LANDesk\LDClient

C:\Program Files (x86)\LANDesk\LDClient\Data

C:\ProgramData\LANDesk\Log


NOTE: When using the additional logging in WinPE, these logs are written to X:\ProgramData\LANDesk\Log. The ProgramData folder is hidden but can still be accessed using the 'CD' (change directory) command.

 

Additional Options

Individual log options can be overridden by adding the above REG_DWORD to the specific sub-key. For example, if you want to have vulscan keep 12 backups of a log and always write verbose entries into the log you would:

  • Open Registry Editor (regedit.exe)
  • Navigate to the LogOptions\vulscan.exe key
    • 32Bit OS - [HKEY_LOCAL_MACHINE\SOFTWARE\landesk\managementsuite\LogOptions\vulscan.exe]
    • 64Bit OS - [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\landesk\managementsuite\LogOptions\vulscan.exe]
  • Right click vulscan.exe
    • Select New
    • Select DWORD (32-bit) Value
    • Type the Reg_DWORD logVerbose
    • Right click logVerbose REG_DWORD and choose Modify.
    • Set Value data to 1 (On)
  • Repeat for maxBackups and set value to 12

LogOptions1.jpg

 

These modifications can be made individually as needed for troubleshooting. However if this is needed on a wider scale, modifying multiple values in multiple registries can be problematic. Below you will find attached Provisioning Templates that will allow you to modify the registries using a scheduled task. By default these templates have the values set to their default value. A copy should be made of the default version so that changes can be reverted easily. These can be further modified to create the logging options for specific sub-keys.

 

Related Documents

How to enable XTrace Diagnostic logging in LANDesk 9.6 Core and Clients

LDMS 9.6 Policy Task Verbose Logging


Viewing all articles
Browse latest Browse all 415

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>