set logging configs.