Why ofMucConversationLog table is empty?

HI ALL,

  1. I have set the “Log Room Conversations” to enable, but when I send message to the room, the ofMucConversationLog table don’t save anything?

  2. Where room conversations store except db? Does it stored in the memory? Because when I restart openfire server, the room conversations is empty.

Anyone give me help? Thanks.

PS: My openfire version is 3.9.3

Screen Shot 2015-04-17 at 6.08.54 PM.png

Have you waited a while, before checking the database table? Data that is to be logged is kept in memory, before it is written to the database. This process is executed every 300 seconds (which is configurable with the tasks.log.timeout property, which takes a value in milliseconds).

I waited 2 days and the ofMucConversationLog table is always empty, but I can use smack api get the muc history messages, I think the messages always in memory and not written to the database.