configure logging on startup