feat:[TS-3718]save slow log file one day one file
This commit is contained in:
parent
f5e35549d7
commit
0b663dbccc
|
@ -135,7 +135,6 @@ static int32_t taosPushLogBuffer(SLogBuff *pLogBuf, const char *msg, int32_t m
|
||||||
static SLogBuff *taosLogBuffNew(int32_t bufSize);
|
static SLogBuff *taosLogBuffNew(int32_t bufSize);
|
||||||
static void taosCloseLogByFd(TdFilePtr pFile);
|
static void taosCloseLogByFd(TdFilePtr pFile);
|
||||||
static int32_t taosInitNormalLog(const char *fn, int32_t maxFileNum);
|
static int32_t taosInitNormalLog(const char *fn, int32_t maxFileNum);
|
||||||
static void backUpSlowLog();
|
|
||||||
static int32_t taosStartLog() {
|
static int32_t taosStartLog() {
|
||||||
TdThreadAttr threadAttr;
|
TdThreadAttr threadAttr;
|
||||||
(void)taosThreadAttrInit(&threadAttr);
|
(void)taosThreadAttrInit(&threadAttr);
|
||||||
|
|
Loading…
Reference in New Issue