refactor(machine): Simplify logging in machine pkg
refactor(registry): Simplify logging in registry pkg