Fix indentation bug and set logginglevel to debug.