addition regarding log handling