Some changes in logging.
Some changes in logging.