maybe fixed logging.h