Disabling and enabling command logging, For linux, freebsd, mac os, and opensolaris – Avago Technologies 3ware SAS 9750-16i4e User Manual
Page 136
Chapter 2. CLI Syntax Reference
128
3ware SATA+SAS RAID Controller Card CLI Guide, Version 10.2
Window. To make the folder permanently visible, select
Organize > Folder
and Search Options
from the Explorer menu, choose the
View
tab, and
select the
Show hidden files and folders
option in
Advance settings
.
For all previous versions of Windows (XP, Server 2003, etc.)
The log file is stored in the following location:
\Documents and Settings\All Users\Application Data\3ware
For Linux, FreeBSD, Mac OS, and OpenSolaris
The log file is in the following directory:
/var/log
Disabling and enabling command logging
You can disable or enable logging of controller commands by setting the
environment variable TW_CLI_LOG to ON or OFF. The method for setting
the environment variable depends on the operating system.
For Linux, FreeBSD, Mac OS, and OpenSolaris
The command you use to set the environment variable depends on the type of
shell.
•
If Bash, ksh, or sh, use
export TW_CLI_LOG=OFF
or
export TW_CLI_LOG=ON
•
If csh (C-shell), use
setenv TW_CLI_LOG OFF
or
setenv TW_CLI_LOG ON
Important
: To set the environment variable, use the same shell you are using to
run the CLI. If you set it in a different shell window and then terminate that shell, the
change reverts to the original condition.