Reset handlers and logging levels