Merge "Add a function to allow statslog failure."
am: ed673c967d

Change-Id: I60f2175ebc964457279671042d7bb9807e0d49ef