Enabling and disabling log files
-
PDF of this doc site
-
Administration for Linux
- Role-based access control in SnapDrive for UNIX
-
Installation and Administration for Solaris
- Role-based access control in SnapDrive for UNIX
- Creating and using Snapshot copies in SnapDrive for UNIX
-
Installation and Administration for IBM AIX
- Role-based access control in SnapDrive for UNIX
-
Administration for Linux
Collection of separate PDF docs
Creating your file...
If you want to enable a log file, specify a file name as the value in the name-value pair of the log file you want to enable. If you want to disable a file, do not enter a value for the log file name parameter.
You must have logged in as a root user.
-
Open the
snapdrive.conf
file in a text editor. -
Choose the appropriate option to either enable or disable a log file.
If you want to… Then… Enable a log file
Specify a file name as the value in the name-value pair of the log file you want to enable. SnapDrive for UNIX only writes log files if it has the name of a file to write to. The default names for the log files are as follows:
-
Audit log:
sd-audit.log
-
Recovery log:
sd-recovery.log
-
Trace log:
sd-trace.log
The path to these files might vary depending on your host operating system. Disable a log file
Do not enter a value for the log file name parameter. If you do not supply a value, there is no file name to which SnapDrive for UNIX can write the log information.
Example This example disables the audit log file.
audit-log-file=""
-
-
Save the
snapdrive.conf
file after you make all your changes.SnapDrive for UNIX automatically checks this file each time it starts. You must restart the SnapDrive for UNIX daemon for the changes to take effect.