query the chat log