CSAPI logging is intended for debugging, therefore it should be utilized only in case of necessity by request of a Symantec Support Engineer.
The Symantec Protection Engine (SPE) process model has changed in SPE 7.8 and later, therefore configuration requires modification in symcmicrodefsmgr.sh script as well.
Enabling CSAPI debug logging
Stop the SPE service. /etc/init.d/symcscan stop
Take a backup of the current symcscan.sh script and symcmicrodefsmgr.sh script. cd /opt/SYMCScan/bin cp -p symcscan.sh symcscan.sh.org cp -p symcmicrodefsmgr.sh symcmicrodefsmgr.sh.org
Insert the following lines right after comment in symcscan.sh and symcmicrodefsmgr.sh. CSAPI_DEBUG_LOG=/var/log/csapi.log CSAPI_DEBUG_LEVEL=5 CSAPI_DEBUG_FILE_SIZE_LIMIT=104857600 CSAPI_DEBUG_SECTION=32767 export CSAPI_DEBUG_LOG export CSAPI_DEBUG_LEVEL export CSAPI_DEBUG_SECTION export CSAPI_DEBUG_FILE_SIZE_LIMIT
Restart symcscan. /etc/init.d/symcscan start
Verify CSAPI logs are being created and log messages are yielded.
Disabling CSAPI debug logging
Stop the SPE Service /etc/init.d/symcscan stop
Comment out the lines inserted in step 3 above or replace with the original script.
Restart symcscan /etc/init.d/symcscan start
Subscribing will provide email updates when this Article is updated. Login is required.