remove log output
This commit is contained in:
parent
e68ae8f756
commit
8875311f23
|
@ -322,7 +322,7 @@ static int32_t sdbReadFileImp(SSdb *pSdb) {
|
|||
|
||||
count = CBC_Decrypt(&opts);
|
||||
|
||||
mDebug("read sdb, CBC_Decrypt dataLen:%d, descrypted len:%d, %s", pRaw->dataLen, count, __FUNCTION__);
|
||||
//mDebug("read sdb, CBC_Decrypt dataLen:%d, descrypted len:%d, %s", pRaw->dataLen, count, __FUNCTION__);
|
||||
|
||||
memcpy(pRaw->pData, plantContent, pRaw->dataLen);
|
||||
taosMemoryFree(plantContent);
|
||||
|
@ -456,8 +456,8 @@ static int32_t sdbWriteFileImp(SSdb *pSdb) {
|
|||
|
||||
int32_t count = CBC_Encrypt(&opts);
|
||||
|
||||
mDebug("write sdb, CBC_Encrypt encryptedDataLen:%d, dataLen:%d, %s",
|
||||
newDataLen, pRaw->dataLen, __FUNCTION__);
|
||||
//mDebug("write sdb, CBC_Encrypt encryptedDataLen:%d, dataLen:%d, %s",
|
||||
// newDataLen, pRaw->dataLen, __FUNCTION__);
|
||||
}
|
||||
|
||||
if (taosWriteFile(pFile, newData, newDataLen) != newDataLen) {
|
||||
|
|
|
@ -174,7 +174,7 @@ static int32_t tsdbWriteFilePage(STsdbFD *pFD, int32_t encryptAlgorithm, char* e
|
|||
memcpy(pFD->pBuf + count, PacketData, NewLen);
|
||||
count += NewLen;
|
||||
}
|
||||
tsdbDebug("CBC_Encrypt count:%d %s", count, __FUNCTION__);
|
||||
//tsdbDebug("CBC_Encrypt count:%d %s", count, __FUNCTION__);
|
||||
}
|
||||
|
||||
n = taosWriteFile(pFD->pFD, pFD->pBuf, pFD->szPage);
|
||||
|
@ -264,7 +264,7 @@ static int32_t tsdbReadFilePage(STsdbFD *pFD, int64_t pgno, int32_t encryptAlgor
|
|||
memcpy(pFD->pBuf + count, PacketData, NewLen);
|
||||
count += NewLen;
|
||||
}
|
||||
tsdbDebug("CBC_Decrypt count:%d %s", count, __FUNCTION__);
|
||||
//tsdbDebug("CBC_Decrypt count:%d %s", count, __FUNCTION__);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -527,7 +527,7 @@ void decryptBody(SWalCfg* cfg, SWalCkHead* pHead, int32_t plainBodyLen, const ch
|
|||
|
||||
int32_t count = CBC_Decrypt(&opts);
|
||||
|
||||
wDebug("CBC_Decrypt cryptedBodyLen:%d, plainBodyLen:%d, %s", count, plainBodyLen, func);
|
||||
//wDebug("CBC_Decrypt cryptedBodyLen:%d, plainBodyLen:%d, %s", count, plainBodyLen, func);
|
||||
|
||||
memcpy(pHead->head.body, newBody, plainBodyLen);
|
||||
|
||||
|
|
|
@ -559,8 +559,8 @@ static FORCE_INLINE int32_t walWriteImpl(SWal *pWal, int64_t index, tmsg_t msgTy
|
|||
|
||||
int32_t count = CBC_Encrypt(&opts);
|
||||
|
||||
wDebug("vgId:%d, file:%" PRId64 ".log, index:%" PRId64 ", CBC_Encrypt cryptedBodyLen:%d, plainBodyLen:%d, %s",
|
||||
pWal->cfg.vgId, walGetLastFileFirstVer(pWal), index, count, plainBodyLen, __FUNCTION__);
|
||||
//wDebug("vgId:%d, file:%" PRId64 ".log, index:%" PRId64 ", CBC_Encrypt cryptedBodyLen:%d, plainBodyLen:%d, %s",
|
||||
// pWal->cfg.vgId, walGetLastFileFirstVer(pWal), index, count, plainBodyLen, __FUNCTION__);
|
||||
|
||||
buf = newBodyEncrypted;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue