Fixed bug in setting loader logging.