Switch off unnecessary logging, cleanup spaces