HOWTO: enabling/disabling CSAPI debug logging
| Article:TECH187537 | | | Created: 2012-04-27 | | | Updated: 2013-02-13 | | | Article URL http://www.symantec.com/docs/TECH187537 |
Problem
As instructed by Symantec's support engineer, you want to know how to enable and disable CSAPI debug logging feature.
Environment
- SSE 5.2.5 or later running on Solaris or Linux (CSAPI 9.0 or later)
- For Windows see http://www.symantec.com/docs/TECH164801
Solution
IMPORTANT
- This procedure requires symcscan service to restart twice.
- CSAPI logging should be turned on/off as requested by Symantec's support Engineer, and should be enabled within a reasonablly short period.
How to enable CSAPI debug logging
- Log in to SSE host with root privilege.
- Stop SSE.
# /etc/init.d/symcscan stop
- Set the following shell variables. Note that no spaces is allowed before and after the equal sign.
# CSAPI_DEBUG_LOG=/var/log/csapi.log
# CSAPI_DEBUG_LEVEL=5
# CSAPI_DEBUG_FILE_SIZE_LIMIT=104857600
# CSAPI_DEBUG_SECTION=2307
- Start symcscan.
# /etc/init.d/symcscan start
- See if the log is generated.
IMPORTANT: DO NOT close this shell window until the logging is disabled.
# tail -f /var/log/csapi.log
How to disable CSAPI debug logging
- On the previous shell window, stop SSE
# /etc/init.d/symcscan stop
- Remove shell varilables
# unset CSAPI_DEBUG_LOG
# unset CSAPI_DEBUG_LEVEL
# unset CSAPI_DEBUG_SECTION
# unset CSAPI_DEBUG_FILE_SIZE_LIMIT
- Start SSE
# /etc/init.d/symcscan start
- Submit the resulting CSAPI log (/var/log/csapi.log) to Symantec Support Engineer.
|
|
Article URL http://www.symantec.com/docs/TECH187537
Terms of use for this information are found in Legal Notices









Thank you.