put some detailed logging behind a DEBUG_MODE guard
small cleanup
1 file changed