refactoring installation logging