prints are redirected to a log file