|
@@ -299,11 +299,11 @@ namespace TEAMModelOS.SDK.DI
|
|
|
log.scope = scope;
|
|
|
host = !string.IsNullOrWhiteSpace($"{host}") ? $"{host}" : option?.Location != null ? $"{host}" : "Default";
|
|
|
log.url =$"{host}{httpContext?.Request.Path}" ;
|
|
|
- if (!string.IsNullOrWhiteSpace(msg) && msg.Length > 100)
|
|
|
+ if (!string.IsNullOrWhiteSpace(msg) && msg.Length > 150)
|
|
|
{
|
|
|
log.saveMod = 1;
|
|
|
-
|
|
|
- _ = azureStorage.UploadFileByContainer("0-public", log.ToJsonString(), "optlog", $"{log.RowKey}-{log.PartitionKey}.json");
|
|
|
+ log.jsonfile = $"/0-public/optlog/{log.RowKey}-{log.PartitionKey}.json";
|
|
|
+ await azureStorage.UploadFileByContainer("0-public", log.ToJsonString(), "optlog", $"{log.RowKey}-{log.PartitionKey}.json");
|
|
|
log.msg = null;
|
|
|
await azureStorage.SaveOrUpdate<OptLog>(log);
|
|
|
}
|