Handle time zone in logger class