logger and util