diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-01-13 19:41:52 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-01-13 19:41:52 +0500 |
commit | 6ace3ff79401783c617a9fbc0f87f002c66f15a5 (patch) | |
tree | 6447db1dd8715e6698f57773558db9418898f9a0 /util/datamanager.lua | |
parent | 5e4187070024292ed2bc3bdcb1f0191d30f451a5 (diff) | |
download | prosody-6ace3ff79401783c617a9fbc0f87f002c66f15a5.tar.gz prosody-6ace3ff79401783c617a9fbc0f87f002c66f15a5.zip |
datamanager: Change log message from type "warn" to "debug" when loading a file fails
Diffstat (limited to 'util/datamanager.lua')
-rw-r--r-- | util/datamanager.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua index 6a811879..c451d40d 100644 --- a/util/datamanager.lua +++ b/util/datamanager.lua @@ -88,7 +88,7 @@ end function load(username, host, datastore) local data, ret = loadfile(getpath(username, host, datastore)); if not data then - log("warn", "Failed to load "..datastore.." storage ('"..ret.."') for user: "..(username or "nil").."@"..(host or "nil")); + log("debug", "Failed to load "..datastore.." storage ('"..ret.."') for user: "..(username or "nil").."@"..(host or "nil")); return nil; end setfenv(data, {}); @@ -163,7 +163,7 @@ end function list_load(username, host, datastore) local data, ret = loadfile(getpath(username, host, datastore, "list")); if not data then - log("warn", "Failed to load "..datastore.." storage ('"..ret.."') for user: "..(username or "nil").."@"..(host or "nil")); + log("debug", "Failed to load "..datastore.." storage ('"..ret.."') for user: "..(username or "nil").."@"..(host or "nil")); return nil; end local items = {}; |