Windows: Debug parameters
These parameters affect the behavior of S-TAP debugging.
guard_tap.ini | Default value | Description |
---|---|---|
DEBUG_BUFFER | 1 | 1=log the contents of local packets |
DEBUG_FIREWALL | 1 | 1=log firewall events |
guard_tap.ini | Default value | Description |
---|---|---|
DEBUG_MAX_FILE_SIZE | 200 | |
DEBUGLEVEL | 0 | Level of debug messages to store. Leave at 0 unless directed by IBM Technical Support.
|
DUMP_FILE_MODE | 0 | Enables capture of dump files if S-TAP crashes. When
the parameter is not zero, a new dump file is opened every time the S-TAP starts; it is
empty if there is no crash.
|
DEBUG_FILE_MODE | <install folder>/StapBuffer/stap.txt | Deprecated in V10.1.4. Location of the S-TAP debug
file. Default until 10.1.4 is <install
folder>/StapBuffer/stap.txt. v10.1.4 and higher: If the debuglevel > 0, then the log from the previous S-TAP session (if it exists) is saved as: %STAP_DIR%\Bin\StapBuffer\stap_%HOSTNAME%%YY-MM-DD%%HHMMDD%.old and the new log is created as: %STAP_DIR%\Bin\StapBuffer\stap_%HOSTNAME%%YY-MM-DD%%HHMMDD%.new. In addition to this, start-up logs containing just messages related to S-TAP start-up are always generated in %STAP_DIR%\Logs: startup_%HOSTNAME%%YY-MM-DD%%HHMMDD%.old and startup_%HOSTNAME%%YY-MM-DD%%HHMMDD%.new. |
STACK_TRACE_FILE_MODE | Deprecated in V10.1.3. Similar to dump_file_mode | |
KERNEL_DEBUG_LEVEL | 0 | |
SYSLOG_MESSAGES | 1 | 1= send messages to EventViewer. 0=do not send messages. |
WER_DUMP | 1 | |
WER_DUMP_FOLDER | None | If the parameter is not set, the following value is used. If the STAP installation folder is rooted anywhere but C:\Program Files (x86)\... then the WER dump folder is set to the full path ending in ...\Windows S-TAP\Bin\..\Logs. If the STAP installation folder contains the text "(x86)" in it, the dump folder is set to C:\Guardium\Dumps and that path will be created by the STAP process. For example, if Windows S-TAP is installed to C:\PROGRAM FILES\IBM\WINDOWS S-TAP and uses default values for WER_DUMP_FOLDER, WER_DUMP_COUNT, Windows S-TAP uses the following registry settings, then Windows S-TAP crash dump is generated via Windows Error Reporting (WER) facility when it's crashed. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\guardium_stapr.exe DumpCount REG_DWORD 0x1 DumpFolder REG_EXPAND_SZ C:\PROGRAM FILES\IBM\WINDOWS S-TAP\Bin\..\LOGS\ DumpType REG_DWORD 0x2 |
WER_DUMP_COUNT | 1 | Max value is 5. |