Syslog

Syslog interface for query log, error messages, and functions.

Loading

This plugin is loaded by default, but it may need to be configured. See the plugin’s Configuration and Variables.

To stop the plugin from loading by default, start drizzled with:

--plugin-remove=syslog

See also

Plugin Options for more information about adding and removing plugins.

Configuration

These command line options configure the plugin when drizzled is started. See Command Line Options for more information about specifying command line options.

--syslog.errmsg-enable
Default :false
Variable :syslog_errmsg_enable

Enable logging to syslog of the error messages

--syslog.errmsg-priority ARG
Default :warning
Variable :syslog_errmsg_priority

Syslog Priority of error messages

--syslog.facility ARG
Default :local0
Variable :syslog_facility

Syslog Facility

--syslog.ident ARG
Default :drizzled
Variable :

Syslog Ident

--syslog.logging-enable
Default :false
Variable :syslog_logging_enable

Enable logging to syslog of the query log

--syslog.logging-priority ARG
Default :warning
Variable :syslog_logging_priority

Syslog Priority of query logging

--syslog.logging-threshold-big-examined
Default :0
Variable :syslog_logging_threshold_big_examined

Threshold for logging big queries

--syslog.logging-threshold-big-resultset
Default :0
Variable :syslog_logging_threshold_big_resultset

Threshold for logging big queries

--syslog.logging-threshold-slow
Default :0
Variable :syslog_logging_threshold_slow

Threshold for logging slow queries

Variables

These variables show the running configuration of the plugin. See variables for more information about querying and setting variables.

  • syslog_errmsg_enable

    Scope:Global
    Dynamic:No
    Option:--syslog.errmsg-enable

    Enable logging to syslog of the error messages

  • syslog_logging_enable

    Scope:Global
    Dynamic:No
    Option:--syslog.logging-enable

    Enable logging to syslog of the query log

Examples

Sorry, there are no examples for this plugin.

Authors

Mark Atwood

Version

This documentation applies to syslog 0.3.

To see which version of the plugin a Drizzle server is running, execute:

SELECT MODULE_VERSION FROM DATA_DICTIONARY.MODULES WHERE MODULE_NAME='syslog'

Changelog

v0.3

  • First release.

Table Of Contents

Previous topic

Substring Functions

Next topic

Table Cache Dictionary

This Page