public void setLogEnabled(boolean logEnabled) {
        this.logEnabled = logEnabled;
    }
Sets if the room's conversation is being logged. If logging is activated the room
conversation will be saved to the database every couple of minutes. The saving frequency is
the same for all the rooms and can be configured by changing the property
"xmpp.muc.tasks.log.timeout" of MultiUserChatServerImpl.

@param logEnabled boolean that specified if the room's conversation must be logged.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCRoom.java