add slow log and modify spare values for php