Sun Microsystems, Inc.
   www.sun.com docs.sun.com | | |  
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
System Administrationmld(1m)


NAME

 mld - message logging daemon

SYNOPSIS

 mld [-f config_file] [-t]

DESCRIPTION

 

mld(1M) provides logging services to all SMS daemons and processes. mld is the first SMS daemon started by ssd(1M) in order to capture the output of all other SMS daemons and processes during their startup phases.

  • Platform log messages are stored in:

    /var/opt/SUNWSMS/adm/platform/messages

    in the following format:

     
    time host program [pid]:[msg_id hrtime_t level file_line] message
    

    file line is optional and only appears in verbose mode.

    For example:

     
    Feb 2 09:16:10 2002 sun15 mld[904]:[209 2345678901 
    INFO MLDLOGGER.cc 141] Platform messages file created.
  • Domain log messages are stored in:

    /var/opt/SUNWSMS/adm/domain_id/messages

    in the same format as platform messages with additional domain_id|domain_tag information following the pid:

     
    time host program [pid]domain_id|domain_tag:[msg_id hrtime_t level file_line] message
    

    For example:

     
    Feb 2 09:18:55 2002 sun15 mld[904]-B (engB):
    [314 2345678902 ERR LogManager.cc 424]
    
    message queue limit exceeded, messages will be dropped.
  • Domain syslog messages are stored in:

    /var/opt/SUNWSMS/adm/domain_id/syslog

    in the same format in which they are received.

OPTIONS

 

The following options are supported.

-f config_file
Provides an absolute path to an alternative remote-message-reception configuration file.
-t
Disables remote message reception (for example; domain syslog messages).

EXIT STATUS

 

The following exit values are returned:

0
Successful completion
>0
An error occurred.

FILES

 

The following file is used by this command:

/var/opt/SUNWSMS/adm/.logger
Message logging daemon configuration file.

This file supports three configuration directives:

FILE -- Specifies where to output messages. The default is msgdaemon and should not be changed.

LEVEL -- Specifies the minimum level necessary for mld to log a message. The supported levels are: debug, info, notice, warning, err, crit, alert, and emerg. The default is notice.

MODE -- Specifies the verbosity of the messages. Two modes are available: verbose and terse. The default is verbose.

Note – All directive arguments are case insensitive.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

Attribute TypesAttribute Values
AvailabilitySUNWSMSop

SEE ALSO

 

ssd(1m)


SMS 1.2Go To TopLast Changed 22 April 2002

 
      
      
Copyright 2002 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 USA. All rights reserved.