improving logging from scheduler