update logging.hpp