Modified basic logging.