log: log rotate logic for community
This commit is contained in:
parent
608ae99579
commit
4a9d72f54d
|
@ -1078,7 +1078,7 @@ static void taosWriteLog(SLogBuff *pLogBuf) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#define LOG_ROTATE_INTERVAL 3600
|
#define LOG_ROTATE_INTERVAL 3600
|
||||||
#ifdef ASSERT_NOT_CORE
|
#if !defined(TD_ENTERPRISE) || defined(ASSERT_NOT_CORE)
|
||||||
#define LOG_INACTIVE_TIME 7200
|
#define LOG_INACTIVE_TIME 7200
|
||||||
#define LOG_ROTATE_BOOT 900
|
#define LOG_ROTATE_BOOT 900
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue