doc and fixed debug output
set logging levels in main.py