How to enable debug logging for the Package Server agent


Article ID: 180051


Updated On:


Management Platform (Formerly known as Notification Server)





How do you enable debug logging for the Package Server agent?


Open the registry on the local Package Server using regedit and navigate to the following location:


HKLM\Software\Altiris\Altiris Agent\Package Server


Create a new DWord entry called ‘DEBUG’ (without any quotes and all upper cases).  It does not matter what the data value is set to, just that the key exists.  Leaving the default data value of 0 is sufficient to actually start logging in entries in the agent logs.  After the Altiris Agent has been restarted, the agent.log files will begin to log package server debug events.

In order to disable this debug mode, you will need to delete the actual registry key and restart the Altiris Agent service.


NOTE: After making this modification the logs will show Sev 1 for all the Package Server logging events that are placed in the log file. The SOURCE is shown as "DEBUG". These are simply Package Server logging messages and do not necessarily denote a Sev 1 error.