提交 36b3b641 编写于 作者: D dapan1121

change filename

上级 cd44f4ff
......@@ -363,8 +363,8 @@ void taosDbgPrintLog(const char *flags, int32_t dflag, char *file, int line, con
curTime = timeSecs.tv_sec;
ptm = localtime_r(&curTime, &Tm);
len = sprintf(buffer, "%02d/%02d %02d:%02d:%02d.%06d 0x%08" PRIx64 " %8.8s:%4d ", ptm->tm_mon + 1, ptm->tm_mday, ptm->tm_hour,
ptm->tm_min, ptm->tm_sec, (int32_t)timeSecs.tv_usec, taosGetSelfPthreadId(), strlen(file) > 8 ? file + strlen(file) - 8 : file, line);
len = sprintf(buffer, "%02d/%02d %02d:%02d:%02d.%06d 0x%08" PRIx64 " %8.8s:%4d ", ptm->tm_mon + 1, ptm->tm_mday, ptm->tm_hour,
ptm->tm_min, ptm->tm_sec, (int32_t)timeSecs.tv_usec, taosGetSelfPthreadId(), strlen(file) > 10 ? file + strlen(file) - 10 : file, line);
len += sprintf(buffer + len, "%s", flags);
va_start(argpointer, format);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册