mvfslog

Sets or displays MVFS console error logging level

APPLICABILITY


Product

Command Type

ClearCase


command


Platform

UNIX


Windows

SYNOPSIS

mvfslog [ -kern·log file | -nokern·log ]

[ none | error | warn | info | stale | debug ] [ -quiet ]
mvfslog [ none | error | warn | info | stale | debug ]

DESCRIPTION

The mvfslog command sets or displays the verbosity level and location for MVFS console error logging. The initial setting is error, in which only RPC errors and actual MVFS errors are logged; warnings and diagnostics are suppressed.

Each logging level includes messages from the previous levels. For example, info includes messages from error and warn.

RESTRICTIONS

Identities: No special identity is required to display the logging level and location. To change the level or location, you must have one of the following identities:

Locks: No locks apply.

Mastership: (Replicated VOBs only) No mastership restrictions.

OPTIONS AND ARGUMENTS

SPECIFYING A LOG FILE. Default: MVFS output is written to /var/adm/atria/log/mvfs_log.

-kern·log file

Specifies a log file for MVFS output.
-nokern·log

Closes the log file and directs MVFS output to the system console.

SETTING THE LOGGING LEVEL. Default: Displays the current error logging level. Use one of the following keywords to specify a new level; none is the least verbose; debug is the most verbose.

none

RPC errors only.

error

MVFS errors are logged (default setting).

warn

MVFS warnings are logged.

info

MVFS diagnostics on some expected errors are logged.

stale

MVFS diagnostics related to ESTALE errors are logged.

debug

Verbose information on many expected errors.

SUPPRESSING OUTPUT. Default: Output is written to the log as specified by the logging level.

-quiet

Suppresses output, returning only the exit status.

SEE ALSO

mvfscache, mvfsstat, mvfsstorage, mvfstime, mvfsversion