add logging about commit