:: com :: sun :: star :: logging ::
|
unpublished |
service SyslogHandler |
|
|
- Supported Interface
- XLogHandler
|
- Usage Restrictions
- not published
- Description
- specifies a component implementing a log handler whose output
channel is the syslog network protocol.
The handler will use the Encoding attribute of XLogHandler
to determine how to encode strings before actually writing them to the output
file.
The output is sent over UDP to the given Host and Port
in RFC5424 format, in plaintext, with APPNAME "soffice" and facility USER.
LogLevel::SEVERE becomes syslog's "error" severity, LogLevel::WARNING becomes syslog's
"warning" severity, LogLevel::INFO and LogLevel::CONFIG become syslog's "notice"
severity, and LogLevel::FINE and below become syslog's "debug" severity.
- Since
- OpenOffice 4.2
- See also
- XLogHandler::Encoding
|
Constructors' Details |
createWithSettings
- Description
- creates an instance of the log handler
- Parameter Settings
- contains the initial settings for the log handler
The following settings are recognized and supported:
Additionally, the following settings are required for this particular handler:
Host - the hostname of the syslog server
Port - the port of the syslog server
- Throws
- ::com::sun::star::lang::IllegalArgumentException
if Settings contains settings whose value is of the wrong type.
|
|
Top of Page
Copyright © 2023, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.