tools/options -> logging -> automatic log options
You'll want to uncheck 'channel' and 'status'
Also note that query windows and dcc-chat share the same log file, so if you leave the box checked to automatically reload the chat log, it can load prior activity from both.