Fixed the default logging mode in a DEBUG build.
Fixed reconnection.
Reformatted some info messages.