Set up client & server logging.