Commit c26568e2 authored by Tom Evans's avatar Tom Evans

OF-764: Remove extraneous logging

No need to emit a warning message for the MUC history reload limit.
parent 960045a3
......@@ -229,7 +229,6 @@ public class MUCPersistenceManager {
pstmt = con.prepareStatement(LOAD_HISTORY);
// Reload the history, using "muc.history.reload.limit" (days); defaults to 2
int reloadLimitDays = JiveGlobals.getIntProperty(MUC_HISTORY_RELOAD_LIMIT, 2);
Log.warn("MUC history reload limit set to " + reloadLimitDays + " days");
long from = System.currentTimeMillis() - (86400000 * reloadLimitDays);
pstmt.setString(1, StringUtils.dateToMillis(new Date(from)));
pstmt.setLong(2, room.getID());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment