diff options
| author | Adam <Adam@anope.org> | 2013-08-07 16:44:35 +0000 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-08-07 16:44:35 +0000 |
| commit | 4865a8cfff2fb2ab3acba89c5aabbb5f0db80743 (patch) | |
| tree | 260869ecc5e32cb54201d01c13ad33bc765a750a /data | |
| parent | 1efd289488ca16c895f833cded995d34b95daae1 (diff) | |
Add m_sql_log
Diffstat (limited to 'data')
| -rw-r--r-- | data/modules.example.conf | 20 |
1 files changed, 20 insertions, 0 deletions
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 @@ -458,6 +458,26 @@ module { name = "help" } } /* + * 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 * * This module allows granting users services operator privileges and possibly IRC Operator |
