Mercurial > prosody-modules
comparison mod_log_json/README.markdown @ 3745:e43a82ddde12
mod_log_json/README: Add a sentence about the first example
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 13 Nov 2019 17:51:08 +0100 |
| parents | 3784bbcbb8ff |
| children | bc865568ff02 |
comparison
equal
deleted
inserted
replaced
| 3744:1cfc8012a76f | 3745:e43a82ddde12 |
|---|---|
| 2 summary: JSON Log Sink | 2 summary: JSON Log Sink |
| 3 --- | 3 --- |
| 4 | 4 |
| 5 Conifiguration | 5 Conifiguration |
| 6 ============== | 6 ============== |
| 7 | |
| 8 Here we log to `/var/log/prosody/prosody.json`: | |
| 7 | 9 |
| 8 ``` {.lua} | 10 ``` {.lua} |
| 9 log = { | 11 log = { |
| 10 -- your other log sinks | 12 -- your other log sinks |
| 11 info = "/var/log/prosody/prosody.log" | 13 info = "/var/log/prosody/prosody.log" |
