CSAPI logging is intended for debugging, therefore it should be utilized only in case of necessity by request of a Symantec Support Engineer.
Enabling CSAPI debug logging
/etc/init.d/symcscan stop
cd /opt/SYMCScan/bin
cp -p symcscan.sh symcscan.sh.org
CSAPI_DEBUG_LOG=/var/log/csapi.log
CSAPI_DEBUG_LEVEL=5
CSAPI_DEBUG_FILE_SIZE_LIMIT=104857600
CSAPI_DEBUG_MAX_LOG_FILES=1
export CSAPI_DEBUG_LOG
export CSAPI_DEBUG_LEVEL
export CSAPI_DEBUG_FILE_SIZE_LIMIT
export CSAPI_DEBUG_MAX_LOG_FILES
export STARGATE_DEBUG_LEVEL=5
/etc/init.d/symcscan start
Disabling CSAPI debug logging
/etc/init.d/symcscan stop
/etc/init.d/symcscan start
For collecting SPE VERBOSE logs, CSAPI debug logs, and Stargate VERBOSE logs on Windows, see:
https://knowledge.broadcom.com/external/article/211023