set logger to debug