How to enable DAgent logging to be used for diagnostics while the machine is booted to the automation environment
GSS 3.x
If the preboot configuration is using automation which will include running Dagent, then sometimes gathering logs is required to diagnose issues.
Here are the steps to enable logging:
1) open the preboot configuration from either PXE (if using PXE ) from Boot Disk Creator ( if using a USB boot disk or Automation Folder )
2) If editing a current pxe configuration
should see this section
;---------------------------------------------------------------------
; LogFile field is the full pathname to the log file (optional)
; LogSize is the maximum log file size (optional)
; LogErrors - If this is Yes, then errors will be logged
; LogInformation - If this is Yes, then information items will be logged.
; LogDebug - If this is Yes, then detailed debug information will be logged.
;---------------------------------------------------------------------
;LogFile=%systemdrive%\DagentLogs\Dagent.log
;LogSize=4096
;LogErrors=Yes | No
;LogInformation=Yes | No
;LogDebug=Yes | No
LogFile=%systemdrive%\DagentLogs\Dagent.log
LogSize=4096
LogErrors=Yes
;---------------------------------------------------------------------
Change the Logfile setting to:
LogFile=M:\DagentLogs\Dagent.log ( change M: to match the preboot configuration setting to the GSS express share )
LogSize=40960
LogErrors=Yes
LogInformation=Yes
LogDebug=Yes
NOTE: removed any semicolon ( ; ) remarks
If Logfile=LogFile=%systemdrive%\DagentLogs\Dagent.log and the system reboots the logging is lost
Then continue with building the PXE preboot environment
3) If creating a new PXE configuration
4) If using an existing Boot Disk or Automation Folders
5) If Making a new Boot Disk or Automaton Folder