I have the same problem. The settings for logging is set to the following:
- Save all my chat logs as default
- Save by date
- Save as HTML files
- Prefix all the lines with a timestamp
- Record contact's activities
- Save images
- Use contact's font
When the chat is open, the attached file is created. This file is, like zka pointed out, deleted when the chat window is closed.