finish off the logging pieces