connection & messaging, logging