Browse Source

调整日志记录

develop
H Vs 7 months ago
parent
commit
0d59422689
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      GpsCardGatewayPosition.Service/Biz/Location/WayzService.cs

+ 1
- 1
GpsCardGatewayPosition.Service/Biz/Location/WayzService.cs View File

@@ -208,7 +208,7 @@ namespace GpsCardGatewayPosition.Service.Biz.Location
wayzOriginalInputLog = $"{nameof(GetWayzWifiAddressAsync)}维智请求原始报文: {JsonConvert.SerializeObject(model)}";
_logger.LogInformation(wayzOriginalInputLog);
result = await _httpHelper.HttpToPostAsync(url, model).ConfigureAwait(false);
var resultText = result.Length >= 2000 ? result.Substring(0, 2000) : result;
var resultText = result.Length >= 2000 ? result.Substring(0, 2000) + "..." : result;
wayzOriginalOutputLog = $"{nameof(GetWayzWifiAddressAsync)}维智返回原始报文: {resultText}";
_logger.LogInformation(wayzOriginalOutputLog);



Loading…
Cancel
Save