日志id更换处理

This commit is contained in:
tianfeng 2026-02-10 17:06:26 +08:00
parent 38fde49712
commit 5fd260496f
4 changed files with 11 additions and 11 deletions

View File

@ -69,7 +69,7 @@ public class GatewayLogging implements ToClsLog, Serializable {
}
if (!Objects.equals(this.getResponse().getCode(), "200")) {
// loggingUploadService.upload(this);
loggingUploadService.upload(this);
}
}

View File

@ -8,8 +8,8 @@ public enum LogTopic {
/**
* 钱包金币资产.
*/
WALLET_GOLD_ASSET_PROD("31fdc347-d4e0-421d-be1b-a77fd5f32659"),
WALLET_GOLD_ASSET_DEVELOP("180afe72-b0fe-4502-bbc2-55a8a5193e78");
WALLET_GOLD_ASSET_PROD("45b22e07-3cc4-41e5-944c-ebda65330e39"),
WALLET_GOLD_ASSET_DEVELOP("931e4d86-fde3-455e-b225-59f83ce30235");
private final String topic;

View File

@ -122,9 +122,9 @@ public class WalletAssetSyncTool {
WalletGoldAssetRecord goldAssetRecord = toWalletGoldAssetRecord(receipt);
walletGoldAssetRecordService.save(goldAssetRecord);
// clsService.upload(
// LogTopic.WALLET_GOLD_ASSET_PROD.getWalletTopic(envProperties.isProd()),
// walletGoldAssetRecordInfraConvertor.toWalletGoldAssetRecordLog(goldAssetRecord));
clsService.upload(
LogTopic.WALLET_GOLD_ASSET_PROD.getWalletTopic(envProperties.isProd()),
walletGoldAssetRecordInfraConvertor.toWalletGoldAssetRecordLog(goldAssetRecord));
} catch (DuplicateKeyException ignore) {
// ignore

View File

@ -54,9 +54,9 @@
<appender name="sls-develop" class="com.tencentcloudapi.cls.LoghubAppender">
<!--必选项-->
<endpoint>ap-singapore.cls.tencentcs.com</endpoint>
<accessKeyId>AKIDSnx10rZK4d6NTRGtIYbPQFuLcp3CB0nR</accessKeyId>
<accessKeySecret>c5oT2Y8nNnxzongUDlKkCVfjbLvKUXRC</accessKeySecret>
<topicId>180afe72-b0fe-4502-bbc2-55a8a5193e78</topicId>
<accessKeyId>IKID1pNfgOmrc4G8frlNfcEWU7PMkrd4AwNU</accessKeyId>
<accessKeySecret>oISIp41i7F6fwvby1kCLBivsWqrZ07vV</accessKeySecret>
<topicId>c0e98f37-0dad-480a-9092-67d95fe7a651</topicId>
<!-- 可选项 详见 '参数说明'-->
<totalSizeInBytes>104857600</totalSizeInBytes>
@ -84,8 +84,8 @@
<appender name="sls-prod" class="com.tencentcloudapi.cls.LoghubAppender">
<!--必选项-->
<endpoint>ap-singapore.cls.tencentcs.com</endpoint>
<accessKeyId>AKIDSnx10rZK4d6NTRGtIYbPQFuLcp3CB0nR</accessKeyId>
<accessKeySecret>c5oT2Y8nNnxzongUDlKkCVfjbLvKUXRC</accessKeySecret>
<accessKeyId>IKID1pNfgOmrc4G8frlNfcEWU7PMkrd4AwNU</accessKeyId>
<accessKeySecret>oISIp41i7F6fwvby1kCLBivsWqrZ07vV</accessKeySecret>
<topicId>4d467d31-9165-42c6-b80a-2ea23ae7777e</topicId>
<!-- 可选项 详见 '参数说明'-->