move reset log handler position to prevent nfs error