switching logger from debugging to warning