Software /
code /
prosody
Comparison
plugins/mod_scansion_record.lua @ 9363:c4ecaaf66e76
mod_scansion_record: Log name of scanison log on shutdown
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 22 Sep 2018 14:30:10 +0200 |
parent | 9362:31317e8edbbc |
child | 9364:62f9127ab493 |
comparison
equal
deleted
inserted
replaced
9362:31317e8edbbc | 9363:c4ecaaf66e76 |
---|---|
70 filters.add_filter(session, "stanzas/in", record_stanza_in); | 70 filters.add_filter(session, "stanzas/in", record_stanza_in); |
71 filters.add_filter(session, "stanzas/out", record_stanza_out); | 71 filters.add_filter(session, "stanzas/out", record_stanza_out); |
72 end); | 72 end); |
73 | 73 |
74 module:hook_global("server-stopping", function () | 74 module:hook_global("server-stopping", function () |
75 module:log("info", "Scansion recording available in %s", record_file); | |
75 scan:close(); | 76 scan:close(); |
76 end); | 77 end); |