refactor: improve clean and build logging config