add debug logging to acceptance
refactor print messages into logging
replace prints by loggers