Skip to content

Commit f1e9ef9

Browse files
committed
[Core] Reduce the level of some logs
1 parent 32bb131 commit f1e9ef9

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Lagrange.Core/Internal/Logic/PushLogic.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public async ValueTask Incoming(ProtocolEvent e)
8686
}
8787
default:
8888
{
89-
context.LogWarning(nameof(PushLogic), "Unknown decrease type: {0}", null, decrease.DecreaseType);
89+
context.LogDebug(nameof(PushLogic), "Unknown decrease type: {0}", null, decrease.DecreaseType);
9090
break;
9191
}
9292
}
@@ -148,7 +148,7 @@ public async ValueTask Incoming(ProtocolEvent e)
148148
}
149149
default:
150150
{
151-
context.LogWarning(nameof(PushLogic), "Unknown 0x20D sub type: {0}", null, @event.SubType);
151+
context.LogDebug(nameof(PushLogic), "Unknown 0x20D sub type: {0}", null, @event.SubType);
152152
break;
153153
}
154154
}
@@ -172,7 +172,7 @@ public async ValueTask Incoming(ProtocolEvent e)
172172
}
173173
default:
174174
{
175-
context.LogWarning(nameof(PushLogic), "Unknown 0x210 sub type: {0}", null, pkgType210);
175+
context.LogDebug(nameof(PushLogic), "Unknown 0x210 sub type: {0}", null, pkgType210);
176176
break;
177177
}
178178
}
@@ -241,23 +241,23 @@ public async ValueTask Incoming(ProtocolEvent e)
241241
}
242242
default:
243243
{
244-
context.LogWarning(nameof(PushLogic), "Unknown 0x2DCSub16 sub type: {0}", null, body.SubType);
244+
context.LogDebug(nameof(PushLogic), "Unknown 0x2DCSub16 sub type: {0}", null, body.SubType);
245245
break;
246246
}
247247
}
248248
break;
249249
}
250250
default:
251251
{
252-
context.LogWarning(nameof(PushLogic), "Unknown 0x2DC sub type: {0}", null, pkgType);
252+
context.LogDebug(nameof(PushLogic), "Unknown 0x2DC sub type: {0}", null, pkgType);
253253
break;
254254
}
255255
}
256256
break;
257257
}
258258
default:
259259
{
260-
context.LogWarning(nameof(PushLogic), "Unknown push msg type: {0}", null, messageEvent.MsgPush.CommonMessage.ContentHead.Type);
260+
context.LogDebug(nameof(PushLogic), "Unknown push msg type: {0}", null, messageEvent.MsgPush.CommonMessage.ContentHead.Type);
261261
break;
262262
}
263263
}

0 commit comments

Comments
 (0)