Changing The Default tsafs Debug Log Path on Linux

0 Likes
Typically the root partition on Linux is limited on space, but the default location for tsafs debug logs is on that limited partition. So, it may be advantageous to change the location of where log file is stored. Below are the instructions for making this change.

For Linux
/opt/novell/sms/bin/smsconfig -u tsafs   ** this unload the tsafs

now load the tsafs with the debug options and with the new path.
/opt/novell/sms/bin/smsconfig -l tsaf  --smsdebug=ffffffc --smsdebug2=fffffffc --DebugFileName=<new path and name>

**** example *****
/opt/novell/sms/bin/smsconfig -l tsaf  --smsdebug=ffffffc --smsdebug2=fffffffc --DebugFileName=/tmp/tsadebug1

The new debug log will now be found at /tmp/tsadbug1_XXXX.log where the XXXX will be a contrived four digits generated by tsafs. And the .log extension will be added.

***** important note *****

To stop the debuging and see the log file you will have to do the following:
/opt/novell/sms/bin/smsconfig -u tsafs

Labels:

How To-Best Practice
Comment List
Related
Recommended