enable console log for connect/disconnect