Cool Solutions

Changing The Default tsafs Debug Log Path on Linux


March 24, 2011 11:25 am

Reads: 3323



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
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Categories: Open Enterprise Server, Technical

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.