Played a little with logging.