enh: solve conflict during process log file
This commit is contained in:
parent
34896f15e4
commit
fea6148c96
|
@ -399,7 +399,7 @@ static void taosKeepOldLog(char *oldName) {
|
|||
_exit2:
|
||||
TAOS_UNUSED(taosCloseFile(&oldFile));
|
||||
if (code != 0) {
|
||||
uWarn("failed at line %d to keep old log file:%s, reason:%s\n", oldName, lino, tstrerror(code));
|
||||
uWarn("failed at line %d to keep old log file:%s, reason:%s\n", lino, oldName, tstrerror(code));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue