Added common logging.