Enable trace logging to troubleshoot advanced task issues that involve the task services on a site server.
ITMS 8.x
Task Service
To enable trace logging for task do the following:
NOTE: The tasks on this page are outlined in KB 181029 Altiris Diagnostic Tasks.
Alternatively, execute the attached commands in a Run Script task targeting the desired servers:
Enable Verbose logging of Task Server and Altiris Agent:
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent\Event Logging\LogFile" /t REG_DWORD /v MaxSize /d 2000 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent\Event Logging\LogFile" /t REG_DWORD /v MaxFiles /d 200 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent\Event Logging\LogFile" /t REG_DWORD /v Severity /d 255 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v TaskStatusReporting /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v BaseClientTaskReporting /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v ClientRegistration /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v RemoteClientTaskQueue /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v TaskExecution /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v General /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v Caching /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v SocketWatchThread /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v ClientTaskServer /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v Tickle /d 3 /f
Put logging levels back to normal:
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent\Event Logging\LogFile" /t REG_DWORD /v MaxSize /d 100 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent\Event Logging\LogFile" /t REG_DWORD /v MaxFiles /d 20 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent\Event Logging\LogFile" /t REG_DWORD /v Severity /d 7 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v TaskStatusReporting /d 0 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v BaseClientTaskReporting /d 0 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v ClientRegistration /d 0 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v RemoteClientTaskQueue /d 0 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v TaskExecution /d 0 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v General /d 0 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v Caching /d 0 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v SocketWatchThread /d 0 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v ClientTaskServer /d 0 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\TaskManagement\Logging" /t REG_DWORD /v Tickle /d 0 /f