By default, each time a user connects or disconnects from a database, the .iqmsg log records this action.
You can control logging of user connections and disconnections using the database option, LOG_CONNECT. If connection logging is disabled when a user connects, and then turned on before the user disconnects, the message log shows that user disconnecting but not connecting.
For more information, see “LOG_CONNECT option” in the Reference: Statements and Options.