Messages received from the operating system results in an user defined callback function being called. This function can do whatever filtering and formatting is necessary and then deploy any type of logging suitable for the user's application.
The Solaris (SunOS 5.x) messages are retrieved from
the syslog-daemon,
Enabling the service includes actions which require root
privileges, such as change of ownership and file privileges of an
executable binary file, and creating a modified copy of
the configuration file for
This process cannot run in multiple instances on the same
hardware. OS_Mon must be configured to start
The format of received events is not defined.
The Windows messages are retrieved from the eventlog file.
The
OS messages are formatted as a tuple
A time stamp as returned by the BIF
Usually one of
The source of the message, usually the name of the application that generated it. This could be almost any string. When matching messages from certain applications, the version number of the application may have to be accounted for. This is what the NT event viewer calls "source".
One of
Formatted exactly as it would be in the NT eventlog viewer. Binary data is not imported into Erlang.
The callback function to use.
Default is
This parameter defines the error report type used when
messages are sent to error logger using the default callback
function. Default is
Solaris only. Defines if the service should be enabled (and
disabled) inside (
Solaris only. Defines the directory which contains
the backup copy and the Erlang specific configuration files
for
Solaris only. Defines the full name of the configuration file
for
Enables the
If the configuration parameter
If
Results in a OS call to:
/bin/mod_syslog otp Dir Conf
]]>
where
Returns
This function requires root privileges to succeed.
Disables the
If the configuration parameter
If
Results in a OS call to:
/bin/mod_syslog nootp Dir Conf
]]>
where
Returns
This function requires root privileges to succeed.