Software /
code /
prosody-modules
Diff
mod_log_json/README.markdown @ 3746:bc865568ff02
mod_log_json: Add UDP support
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 13 Nov 2019 17:51:28 +0100 |
parent | 3745:e43a82ddde12 |
child | 4462:4356088ad675 |
line wrap: on
line diff
--- a/mod_log_json/README.markdown Wed Nov 13 17:51:08 2019 +0100 +++ b/mod_log_json/README.markdown Wed Nov 13 17:51:28 2019 +0100 @@ -16,6 +16,16 @@ } ``` +## UDP + +Alternatively, it can send logs via UDP: + +```lua +log = { + { to = "json", udp_host = "10.1.2.3", udp_port = "9999" }; +} +``` + Format ======