Finish logging to be cleaner