Software /
code /
prosody
Comparison
plugins/mod_scansion_record.lua @ 9372:0e685b7ec039
mod_scansion_record: Lower log message to 'info' level
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 22 Sep 2018 19:29:27 +0200 |
parent | 9371:ac17b0aa3dfb |
child | 9373:1a69803d5d5d |
comparison
equal
deleted
inserted
replaced
9371:ac17b0aa3dfb | 9372:0e685b7ec039 |
---|---|
78 record_object("Client", session.scansion_id, { | 78 record_object("Client", session.scansion_id, { |
79 jid = session.full_jid, | 79 jid = session.full_jid, |
80 password = "password", | 80 password = "password", |
81 }); | 81 }); |
82 | 82 |
83 module:log("warn", "Connected: %s", session.scansion_id); | 83 module:log("info", "Connected: %s", session.scansion_id); |
84 record_event(session, "connects"); | 84 record_event(session, "connects"); |
85 | 85 |
86 filters.add_filter(session, "stanzas/in", record_stanza_in); | 86 filters.add_filter(session, "stanzas/in", record_stanza_in); |
87 filters.add_filter(session, "stanzas/out", record_stanza_out); | 87 filters.add_filter(session, "stanzas/out", record_stanza_out); |
88 end); | 88 end); |