making the logging better so it runs longer and logs more stuff
log cleanup