feat:[TS-3718]save slow log file one day one file
This commit is contained in:
parent
4d7c54d1a5
commit
9c2adc59bb
|
@ -150,7 +150,7 @@ static void getDay(char* buf){
|
|||
time_t t = taosTime(NULL);
|
||||
struct tm tmInfo;
|
||||
if (taosLocalTime(&t, &tmInfo, buf) != NULL) {
|
||||
(void)strftime(buf, sizeof(buf), "%Y-%m-%d", &tmInfo);
|
||||
(void)strftime(buf, LOG_FILE_DAY_LEN, "%Y-%m-%d", &tmInfo);
|
||||
}
|
||||
}
|
||||
static void getFullPathName(char* fullName, const char* logName){
|
||||
|
|
Loading…
Reference in New Issue