Turning debug logging looks useful. Should we just make this a command line option? Otherwise I would remove the commented line.