LOG(SVAS)

Shore Programmer's Manual - 2 August 96

NAME

log \- error logging in the Shore Value-Added Server

SYNOPSIS

log <which> <level>
where
	<which> = [svas-client|client|nfsd|mountd|remote|svas-remote|all|none] 
	<level> = [on|off|trace|info|error|internal|fatal]

DESCRIPTION

The log shell command turns on and off logging of errors, and changes the logging level.

NB: this is not the same logging as that which is done for recovery!

ARGUMENTS

The first argument indicates which server's activity interests you. shore, client or svas-client is the server that handles requests from Shore clients. remote or svas-remote is the server that handles requests from remote Shore Value-Added Servers. nfsd is the Shore NFS server. all means all kinds of server activity. none turns off logging for all server activity.

The second argument indicates what kind of logging interests you. These values are related to the logging levels of syslog(). Trace (the highest level) is for detailed tracing of the server. Info is for informational messages. Error is for errors (usually user errors) detected by the server. Internal is for internal errors detected by the server. Fatal (the lowest level) is for messages given prior to the server's aborting. Off turns off all logging for the given server.

Each logging level is subsumed by its next higher logging level; for example, if a server's logging level is Info, all kinds of errors are also logged, but trace messages are not.

ENVIRONMENT

Logging is available only in the server process.

VERSION

This manual page applies to Version 1.0 of theShore software.

SPONSORSHIP

The Shore project is sponsored by the Advanced Research Project Agency, ARPA order number 018 (formerly 8230), monitored by the U.S. Army Research Laboratory under contract DAAB07-92-C-Q508.

COPYRIGHT

Copyright (c) 1994, 1995, 1996 Computer Sciences Department, University of Wisconsin -- Madison. All Rights Reserved.

SEE ALSO

shell(svas) and errlog(common)