Comparison

mod_log_rate/README.markdown @ 1803:4d73a1a6ba68

Convert all wiki pages to Markdown
author Kim Alvefur <zash@zash.se>
date Fri, 28 Aug 2015 18:03:58 +0200
parent 1782:mod_log_rate/README.wiki@29f3d6b7ad16
child 1820:8de50be756e5
comparison
equal deleted inserted replaced
1802:0ab737feada6 1803:4d73a1a6ba68
1 ---
2 labels:
3 summary: Collect statistics on rate of log messages
4 ...
5
6 Introduction
7 ============
8
9 If you ever wanted to collect statistics on the number of log messages,
10 this is the module for you!
11
12 Setup
13 =====
14
15 After [installing the module](https://prosody.im/doc/installing_modules)
16 and adding it to modules\_enabled as most other modules, you also need
17 to add it to your logging config:
18
19 log = {
20 -- your other log sinks
21 info = "/var/log/prosody/prosody.log"
22 -- add this:
23 { to = "measure" }
24
25 Then log messages will be counted by
26 [statsmanager](https://prosody.im/doc/developers/core/statsmanager).
27
28 Compatibility
29 =============
30
31 Reqires Prosody 0.10 or above.