Administrator Guide

Table 8. Examples to configure nodes using xDCM (continued)
Scenario Command
\database, C:\Windows\logs" -Event:
USER_LOGOFF -CleanType:DIR_EMPTY -
CleanFrom:Disk
Deleting a file cleanup node under OverlayCleanup element
Notepad in XdataCleanupConfig.xml.
XDCM.exe -Remove -CleanupType:File -
Name:Notepad -CleanFrom:Overlay
NOTE:
If you log off from the thin client when UWF is disabled, the folder cleanup node is used by ClientServiceEngine service
to clean up the contents inside the directory C:\Windows\Security. Also, when the contents of this directory is
deleted, the contents in the folders C:\Windows\Security\database and C:\Windows\logs are deleted as
they are added in the excluded paths.
You must provide unique names to add a new application entry to the XdataCleanupConfig.xml using XDCM.exe.
When you are running the command to add an entry, the folder path is compared with the existing entries. If the path is
already available, only the exclusion paths are added to the existing folder entry.
Capturing logfiles
You can configure DebugLog.xml file to collect different types of logs for an application. You can modify the log levels to
obtain specific type of logs. The logs files are created at C:\Windows\Logs\<Application name>\Logs.
NOTE: By default, no logs are created for an application.
Configuration of DebugLog XML file
You can use the Debug Configuration Editor (DCE) console application to configure the debug configuration XML file. This tool
can be used to commit, exclude, or modify the debug configuration file.
To commit, exclude, or modify the debug configuration file, enter the following commands on the Debug Configuration Editor:
To commit the file and obtain the logfilesDebugConfigEditor.exe -CommitLog -Path "DebugLog.xml". This
command commits the file present in the path that is mentioned in Debug.xml.
To exclude the collection of logs from a folder mentioned in the Debug.xmlDebugConfigEditor.exe -
ExcludeLog -Path "DebugLog.xml".
To configure the Debug.xml file to collect different types of logsDebugConfigEditor.exe -UpdateConfig -
Path "DebugLog.xml" -LogPath "Path of Log File" -LogFileName "Name of log File" -LogLevel
"logLevel".
The following table describes the different LogLevel values that can be used:
Table 9. LogLevel values
Value Description
0 Logs are not captured.
1 Error logs are captured.
2 Warning logs are captured.
3 Error and warning logs are captured.
4 Information logs are captured.
7 All logs are captured.
Additional administrator utility and settings information 37