NAME

lcfgmsg - send messages to LCFG error/logging system


SYNOPSIS

 
/usr/sbin/lcfgmsg [I<options>] I<component> I<message>


DESCRIPTION

This command is used by LCFG components and daemons to report error and log messages.


OPTIONS

-a

Send a SIGUSR2 to the client component requesting an acknowledgement be sent to the server.

-C event

Clear the named event log (delete the file).

-d

Send a Debug message.

-e

Send an Error message (non-fatal error).

-E event

Send an event message to the named event log.

-f

Send a Fail message (fatal error).

-i

Send an Info message. This message appears in the logfile and on the terminal.

-l

Send a message to the log file.

=item B<-n> I<tag>

Send a notification message to the monitoring system using ther given tag.

-o

Send an OK message. This message is reported to the terminal only.
-p

Advance progress bar.

-s

Start a progress bar.

-w

Send a warning message.

-x

End progress bar.


ENVIRONMENT VARIABLES

LCFG_MONITOR

If this is set to the name of a pipe, erorrs, warnings and monitoring information will be written to the named pipe.

LCFG_SYSLOG

If this is set to the name of a syslog facility, errors and warnings will be copied to syslog.


SEE ALSO

LCFG::Utils, lcfgutils, lcfg-ngeneric, LCFG::Component


PLATFORMS

Solaris9, Fedora3, Fedora5, Darwin, Fedora6, Scientific5


AUTHOR

Paul Anderson <dcspaul@inf.ed.ac.uk>