change the error&warn log buffer into 0