removing circular dependency on msg_logger