How to enable and disable session logging in Smarts NCM
The following sections explain how to enable and disable session logging in Smarts NCM without debugging. To edit the files mentioned in the following instructions, you will need to have root access to Smarts NCM Device Server(s) .
Enabling session logging in Smarts NCM
To enable session logging in Smarts NCM, do the following on the Smarts NCM Device Server:
- Run commands:
source /etc/voyence.conf
cd $VOYENCE_HOME
cd cgi-bin/
- Generate a temporary "test" file using the following command:
./cflist.cgi mode=pop > /tmp/test
- Open the test file for editing in vi:
vi /tmp/test
- Set CM_DEBUGSESSION=1
- Save and close the test file.
- Move the test file back using the cfwrite command as follows:
./cfwrite.cgi < /tmp/test
- Restart the voyence service on your Smarts NCM Device Server(s) as follows:
/etc/init.d/voyence restart
Disabling session logging in Smarts NCMTo disable session logging in Smarts NCM, do the following on the Smarts NCM Device Server:
- Run commands:
source /etc/voyence.conf
cd $VOYENCE_HOME
cd cgi-bin/
- Generate a temporary "test" file using the following command:
./cflist.cgi mode=pop > /tmp/test
- Open the test file for editing in vi:
vi /tmp/test
- Set CM_DEBUGSESSION=0
- Save and close the test file.
- Move the test file back using the cfwrite command as follows:
./cfwrite.cgi < /tmp/test
- Restart the voyence service on your Smarts NCM Device Server(s) as follows:
/etc/init.d/voyence restart