change tsdb log format
This commit is contained in:
parent
0b61594405
commit
f8c6980cfc
|
@ -29,20 +29,20 @@ extern "C" {
|
||||||
|
|
||||||
extern int tsdbDebugFlag;
|
extern int tsdbDebugFlag;
|
||||||
|
|
||||||
#define tsdbError(...) \
|
#define tsdbError(...) \
|
||||||
if (tsdbDebugFlag & DEBUG_ERROR) { \
|
if (tsdbDebugFlag & DEBUG_ERROR) { \
|
||||||
taosPrintLog("ERROR TSDB ", tsdbDebugFlag, __VA_ARGS__); \
|
taosPrintLog("ERROR TDB ", tsdbDebugFlag, __VA_ARGS__); \
|
||||||
}
|
}
|
||||||
#define tsdbWarn(...) \
|
#define tsdbWarn(...) \
|
||||||
if (tsdbDebugFlag & DEBUG_WARN) { \
|
if (tsdbDebugFlag & DEBUG_WARN) { \
|
||||||
taosPrintLog("WARN TSDB ", tsdbDebugFlag, __VA_ARGS__); \
|
taosPrintLog("WARN TDB ", tsdbDebugFlag, __VA_ARGS__); \
|
||||||
}
|
}
|
||||||
#define tsdbTrace(...) \
|
#define tsdbTrace(...) \
|
||||||
if (tsdbDebugFlag & DEBUG_TRACE) { \
|
if (tsdbDebugFlag & DEBUG_TRACE) { \
|
||||||
taosPrintLog("TSDB ", tsdbDebugFlag, __VA_ARGS__); \
|
taosPrintLog("TDB ", tsdbDebugFlag, __VA_ARGS__); \
|
||||||
}
|
}
|
||||||
#define tsdbPrint(...) \
|
#define tsdbPrint(...) \
|
||||||
{ taosPrintLog("TSDB ", 255, __VA_ARGS__); }
|
{ taosPrintLog("TDB ", 255, __VA_ARGS__); }
|
||||||
|
|
||||||
// ------------------------------ TSDB META FILE INTERFACES ------------------------------
|
// ------------------------------ TSDB META FILE INTERFACES ------------------------------
|
||||||
#define TSDB_META_FILE_NAME "META"
|
#define TSDB_META_FILE_NAME "META"
|
||||||
|
|
Loading…
Reference in New Issue