commiting changes with logging