From 4865a8cfff2fb2ab3acba89c5aabbb5f0db80743 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 7 Aug 2013 16:44:35 +0000 Subject: Add m_sql_log --- data/modules.example.conf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'data') diff --git a/data/modules.example.conf b/data/modules.example.conf index 28bef2850..aaf7048b2 100644 --- a/data/modules.example.conf +++ b/data/modules.example.conf @@ -457,6 +457,26 @@ module { name = "help" } #disable_reason = "To register on this network visit http://some.misconfigured.site/register" } +/* + * m_sql_log + * + * This module adds an additional target option to log{} blocks + * that allows logging Service's logs to SQL. To log to SQL, add + * the SQL service name to log:targets prefixed by sql_log:. For + * example: + * + * log + * { + * targets = "services.log sql_log:mysql/main" + * ... + * } + * + * By default this module logs to the table `logs`, and will create + * it if it doesn't exist. This module does not create any indexes (keys) + * on the table and it is recommended you add them yourself as necessary. + */ +#module { name = "m_sql_log" } + /* * m_sql_oper * -- cgit