This is in fact how all versions of mIRC have always behaved. You can do all kinds of things in a window without being connected, ie. echo text from custom scripts to the window. In fact, all kinds of useful information would end up not being logged if logging stopped while not connected. Logging relates to activites within the window, not specifically connection-related activities. This is standard mIRC logging behaviour.