Upddated the logger