Clean up the logging and make install work