1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 08:03:14 +02:00

Add m_sql_log

This commit is contained in:
Adam
2013-08-07 16:44:35 +00:00
parent 1efd289488
commit 4865a8cfff
4 changed files with 140 additions and 2 deletions
+20
View File
@@ -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
*