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:
Enable logging to syslog of the error messages
- --syslog.errmsg-priority ARG¶
- Default:
warning
- Variable:
Syslog Priority of error messages
- --syslog.facility ARG¶
- Default:
local0
- Variable:
Syslog Facility
- --syslog.ident ARG¶
- Default:
drizzled
- Variable:
Syslog Ident
- --syslog.logging-enable¶
- Default:
false
- Variable:
Enable logging to syslog of the query log
- --syslog.logging-priority ARG¶
- Default:
warning
- Variable:
Syslog Priority of query logging
- --syslog.logging-threshold-big-examined¶
- Default:
0
- Variable:
Threshold for logging big queries
- --syslog.logging-threshold-big-resultset¶
- Default:
0
- Variable:
Threshold for logging big queries
- --syslog.logging-threshold-slow¶
- Default:
0
- Variable:
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:
Enable logging to syslog of the error messages
syslog_errmsg_priority- Scope:
Global
- Dynamic:
No
- Option:
Syslog Priority of error messages
syslog_facility- Scope:
Global
- Dynamic:
No
- Option:
Syslog Facility
syslog_logging_enable- Scope:
Global
- Dynamic:
No
- Option:
Enable logging to syslog of the query log
syslog_logging_priority- Scope:
Global
- Dynamic:
No
- Option:
Syslog Priority of query logging
syslog_logging_threshold_big_examined- Scope:
Global
- Dynamic:
No
- Option:
Threshold for logging big queries
syslog_logging_threshold_big_resultset- Scope:
Global
- Dynamic:
No
- Option:
Threshold for logging big queries
syslog_logging_threshold_slow- Scope:
Global
- Dynamic:
No
- Option:
Threshold for logging slow queries
Examples¶
Sorry, there are no examples for this plugin.
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.