6
Syslog interface for query log, error messages, and functions.
13
This plugin is loaded by default, but it may need to be configured. See
14
the plugin's :ref:`syslog_configuration` and
15
:ref:`syslog_variables`.
17
To stop the plugin from loading by default, start :program:`drizzled`
20
--plugin-remove=syslog
22
.. seealso:: :ref:`drizzled_plugin_options` for more information about adding and removing plugins.
24
.. _syslog_configuration:
29
These command line options configure the plugin when :program:`drizzled`
30
is started. See :ref:`command_line_options` for more information about specifying
35
.. option:: --syslog.errmsg-enable
38
:Variable: :ref:`syslog_errmsg_enable <syslog_errmsg_enable>`
40
Enable logging to syslog of the error messages
42
.. option:: --syslog.errmsg-priority ARG
45
:Variable: :ref:`syslog_errmsg_priority <syslog_errmsg_priority>`
47
Syslog Priority of error messages
49
.. option:: --syslog.facility ARG
52
:Variable: :ref:`syslog_facility <syslog_facility>`
56
.. option:: --syslog.ident ARG
63
.. option:: --syslog.logging-enable
66
:Variable: :ref:`syslog_logging_enable <syslog_logging_enable>`
68
Enable logging to syslog of the query log
70
.. option:: --syslog.logging-priority ARG
73
:Variable: :ref:`syslog_logging_priority <syslog_logging_priority>`
75
Syslog Priority of query logging
77
.. option:: --syslog.logging-threshold-big-examined
80
:Variable: :ref:`syslog_logging_threshold_big_examined <syslog_logging_threshold_big_examined>`
82
Threshold for logging big queries
84
.. option:: --syslog.logging-threshold-big-resultset
87
:Variable: :ref:`syslog_logging_threshold_big_resultset <syslog_logging_threshold_big_resultset>`
89
Threshold for logging big queries
91
.. option:: --syslog.logging-threshold-slow
94
:Variable: :ref:`syslog_logging_threshold_slow <syslog_logging_threshold_slow>`
96
Threshold for logging slow queries
103
These variables show the running configuration of the plugin.
104
See `variables` for more information about querying and setting variables.
106
.. _syslog_errmsg_enable:
108
* ``syslog_errmsg_enable``
112
:Option: :option:`--syslog.errmsg-enable`
114
Enable logging to syslog of the error messages
116
.. _syslog_errmsg_priority:
118
* ``syslog_errmsg_priority``
122
:Option: :option:`--syslog.errmsg-priority`
124
Syslog Priority of error messages
128
* ``syslog_facility``
132
:Option: :option:`--syslog.facility`
136
.. _syslog_logging_enable:
138
* ``syslog_logging_enable``
142
:Option: :option:`--syslog.logging-enable`
144
Enable logging to syslog of the query log
146
.. _syslog_logging_priority:
148
* ``syslog_logging_priority``
152
:Option: :option:`--syslog.logging-priority`
154
Syslog Priority of query logging
156
.. _syslog_logging_threshold_big_examined:
158
* ``syslog_logging_threshold_big_examined``
162
:Option: :option:`--syslog.logging-threshold-big-examined`
164
Threshold for logging big queries
166
.. _syslog_logging_threshold_big_resultset:
168
* ``syslog_logging_threshold_big_resultset``
172
:Option: :option:`--syslog.logging-threshold-big-resultset`
174
Threshold for logging big queries
176
.. _syslog_logging_threshold_slow:
178
* ``syslog_logging_threshold_slow``
182
:Option: :option:`--syslog.logging-threshold-slow`
184
Threshold for logging slow queries
191
Sorry, there are no examples for this plugin.
205
This documentation applies to **syslog 0.3**.
207
To see which version of the plugin a Drizzle server is running, execute:
209
.. code-block:: mysql
211
SELECT MODULE_VERSION FROM DATA_DICTIONARY.MODULES WHERE MODULE_NAME='syslog'