add logger config snippet