diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-12-04 19:04:03 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-12-04 19:04:03 +0000 |
commit | 7ce19513add53bf4206abbc3c692fdad7941709d (patch) | |
tree | bac4d4bf86b4ba516cb8616e8407ce586b7efa7f | |
parent | 034315b76d08f768df12b0e684689fda18eccfd5 (diff) | |
download | prosody-7ce19513add53bf4206abbc3c692fdad7941709d.tar.gz prosody-7ce19513add53bf4206abbc3c692fdad7941709d.zip |
mod_compression: Tweak some log levels
-rw-r--r-- | plugins/mod_compression.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_compression.lua b/plugins/mod_compression.lua index 8fdf9dcc..638b8e13 100644 --- a/plugins/mod_compression.lua +++ b/plugins/mod_compression.lua @@ -177,7 +177,7 @@ module:add_handler({"c2s_unauthed", "c2s", "s2sin_unauthed", "s2sin"}, "compress -- checking if the compression method is supported local method = stanza:child_with_name("method")[1]; if method == "zlib" then - session.log("info", method.." compression selected."); + session.log("debug", method.." compression selected."); -- create deflate and inflate streams local deflate_stream = get_deflate_stream(session); @@ -203,7 +203,7 @@ module:add_handler({"c2s_unauthed", "c2s", "s2sin_unauthed", "s2sin"}, "compress end; session.compressed = true; else - session.log("info", method.." compression selected. But we don't support it."); + session.log("warn", method.." compression selected. But we don't support it."); local error_st = st.stanza("failure", {xmlns=xmlns_compression_protocol}):tag("unsupported-method"); (session.sends2s or session.send)(error_st); end |