4
Syslog interface for query log, error messages, and functions.
11
This plugin is loaded by default, but it may need to be configured. See
12
the plugin's :ref:`syslog_configuration` and
13
:ref:`syslog_variables`.
15
To stop the plugin from loading by default, start :program:`drizzled`
18
--plugin-remove=syslog
20
.. seealso:: :doc:`/options` for more information about adding and removing plugins.
22
.. _syslog_configuration:
27
These command line options configure the plugin when :program:`drizzled`
28
is started. See :doc:`/configuration` for more information about specifying
33
.. option:: --syslog.errmsg-enable
36
:Variable: :ref:`syslog_errmsg_enable <syslog_errmsg_enable>`
38
Enable logging to syslog of the error messages
40
.. option:: --syslog.errmsg-priority ARG
43
:Variable: :ref:`syslog_errmsg_priority <syslog_errmsg_priority>`
45
Syslog Priority of error messages
47
.. option:: --syslog.facility ARG
50
:Variable: :ref:`syslog_facility <syslog_facility>`
54
.. option:: --syslog.ident ARG
61
.. option:: --syslog.logging-enable
64
:Variable: :ref:`syslog_logging_enable <syslog_logging_enable>`
66
Enable logging to syslog of the query log
68
.. option:: --syslog.logging-priority ARG
71
:Variable: :ref:`syslog_logging_priority <syslog_logging_priority>`
73
Syslog Priority of query logging
75
.. option:: --syslog.logging-threshold-big-examined
78
:Variable: :ref:`syslog_logging_threshold_big_examined <syslog_logging_threshold_big_examined>`
80
Threshold for logging big queries
82
.. option:: --syslog.logging-threshold-big-resultset
85
:Variable: :ref:`syslog_logging_threshold_big_resultset <syslog_logging_threshold_big_resultset>`
87
Threshold for logging big queries
89
.. option:: --syslog.logging-threshold-slow
92
:Variable: :ref:`syslog_logging_threshold_slow <syslog_logging_threshold_slow>`
94
Threshold for logging slow queries
101
These variables show the running configuration of the plugin.
102
See `variables` for more information about querying and setting variables.
104
.. _syslog_errmsg_enable:
106
* ``syslog_errmsg_enable``
110
:Option: :option:`--syslog.errmsg-enable`
112
Enable logging to syslog of the error messages
114
.. _syslog_errmsg_priority:
116
* ``syslog_errmsg_priority``
120
:Option: :option:`--syslog.errmsg-priority`
122
Syslog Priority of error messages
126
* ``syslog_facility``
130
:Option: :option:`--syslog.facility`
134
.. _syslog_logging_enable:
136
* ``syslog_logging_enable``
140
:Option: :option:`--syslog.logging-enable`
142
Enable logging to syslog of the query log
144
.. _syslog_logging_priority:
146
* ``syslog_logging_priority``
150
:Option: :option:`--syslog.logging-priority`
152
Syslog Priority of query logging
154
.. _syslog_logging_threshold_big_examined:
156
* ``syslog_logging_threshold_big_examined``
160
:Option: :option:`--syslog.logging-threshold-big-examined`
162
Threshold for logging big queries
164
.. _syslog_logging_threshold_big_resultset:
166
* ``syslog_logging_threshold_big_resultset``
170
:Option: :option:`--syslog.logging-threshold-big-resultset`
172
Threshold for logging big queries
174
.. _syslog_logging_threshold_slow:
176
* ``syslog_logging_threshold_slow``
180
:Option: :option:`--syslog.logging-threshold-slow`
182
Threshold for logging slow queries
189
Sorry, there are no examples for this plugin.
203
This documentation applies to **syslog 0.3**.
205
To see which version of the plugin a Drizzle server is running, execute:
207
.. code-block:: mysql
209
SELECT MODULE_VERSION FROM DATA_DICTIONARY.MODULES WHERE MODULE_NAME='syslog'