To enable debug for Trap Adapter (TA):
- By default, in <SAM_BASE>/smarts/conf/icoi/trap_mgr.conf, below are the debug flags configured:
# DEBUG = FALSE
# LOGGING = OFF
- Use sm_edit to open this file and uncomment the above attributes:
<SAM_BASE>/smarts/bin/sm_edit conf/icoi/trap_mgr.conf
DEBUG = TRUE
LOGGING = ALL
- Save and close the file.
- Restart the TA service for debug flags to take effect.
To enable debug for Trap Exploder (TE):
- By default, in <SAM_BASE>/smarts/rules/trapd/trapParse.asl, below debug flag is configured:
debug = FALSE;
- Use sm_edit to open this file and set the above attribute to below:
<SAM_BASE>/smarts/bin/sm_edit rules/trapd/trapParse.asl
debug = TRUE;
- Save and close the file.
- Restart the TE service for debug flag to take effect.