工作流框架bug修复

usertest
嵇文龙 6 months ago
parent 4b2ef47877
commit 8b86a66f23

@ -0,0 +1,30 @@
using System.Diagnostics;
using DS.Module.Core.Log;
using SqlSugar;
namespace DS.WMS.Core
{
public static class LogExtensions
{
public static void Log(this Exception ex, ISqlSugarClient db)
{
string className = string.Empty;
var stacktrace = new StackTrace();
if (stacktrace.FrameCount >= 0)
className = stacktrace.GetFrame(0).GetMethod().DeclaringType.Name;
var exLog = new SysLogException()
{
ClassName = className,
ExceptionName = ex.GetType().FullName,
ExceptionMsg = ex.Message,
ExceptionSource = ex.Source,
StackTrace = ex.StackTrace,
ParamsObj = ex.TargetSite.GetParameters().ToString(),
};
var scope = (SqlSugarScope)db;
scope.GetConnection(1288018625843826680).Insertable(exLog).ExecuteCommand();
}
}
}

@ -156,6 +156,9 @@ namespace DS.WMS.Core.Fee.Method
return DataResult.Failed(sb.ToString(), MultiLanguageConst.Operation_Failed);
}
//若计价货币单位不等于默认货币则尝试获取最新汇率
FetchExchangeRate(tenantDb, items);
List<FeeRecord> list = new List<FeeRecord>(items.Count());
foreach (var item in items)
{
@ -190,15 +193,43 @@ namespace DS.WMS.Core.Fee.Method
var list2 = list.Select(x => x.Adapt<FeeRecordRes>()).ToList();
return DataResult.Successed("保存成功", list2, MultiLanguageConst.DataUpdateSuccess);
}
catch
catch(Exception ex)
{
tenantDb.Ado.RollbackTran();
//throw;
ex.Log(db);
return DataResult.Failed("保存失败", MultiLanguageConst.DataUpdateFailed);
}
}
void FetchExchangeRate(SqlSugarScopeProvider tenantDb, IEnumerable<FeeRecord> records)
{
var exRecords = records.Where(x => !x.ExchangeRate.HasValue && x.Currency != DefaultCurrency).ToList();
if (exRecords.Count > 0)
{
var codes = exRecords.Select(x => x.Currency).Distinct().ToList();
var currencies = tenantDb.Queryable<FeeCurrency>().Where(x => codes.Contains(x.CodeName)).Includes(x => x.Exchanges).ToList();
DateTime dtNow = DateTime.Now;
foreach (var item in exRecords)
{
var currency = currencies.Find(x => x.CodeName == item.Currency);
if (currency != null)
{
item.ExchangeRate = currency.DefaultRate;
if (currency.Exchanges != null)
{
//取当前时间范围内的最新一条
var exchange = currency.Exchanges.FindAll(x => x.Status == StatusEnum.Enable &&
x.StartDate >= dtNow && x.EndDate <= dtNow).OrderByDescending(x => x.UpdateTime).FirstOrDefault();
if (exchange != null)
item.ExchangeRate = item.FeeType == 1 ? exchange.DRValue : exchange.CRValue;
}
}
}
}
}
/// <summary>
/// 根据模板ID创建
/// </summary>
@ -250,30 +281,7 @@ namespace DS.WMS.Core.Fee.Method
}
//若计价货币单位不等于默认货币则尝试获取最新汇率
var exRecords = records.FindAll(x => !x.ExchangeRate.HasValue && x.Currency != DefaultCurrency);
if (exRecords.Count > 0)
{
var codes = exRecords.Select(x => x.Currency).Distinct().ToList();
var currencies = tenantDb.Queryable<FeeCurrency>().Where(x => codes.Contains(x.CodeName)).Includes(x => x.Exchanges).ToList();
DateTime dtNow = DateTime.Now;
foreach (var item in exRecords)
{
var currency = currencies.Find(x => x.CodeName == item.Currency);
if (currency != null)
{
item.ExchangeRate = currency.DefaultRate;
if (currency.Exchanges != null)
{
//取当前时间范围内的最新一条
var exchange = currency.Exchanges.FindAll(x => x.Status == StatusEnum.Enable &&
x.StartDate >= dtNow && x.EndDate <= dtNow).OrderByDescending(x => x.UpdateTime).FirstOrDefault();
if (exchange != null)
item.ExchangeRate = item.FeeType == 1 ? exchange.DRValue : exchange.CRValue;
}
}
}
}
FetchExchangeRate(tenantDb, records);
int result = tenantDb.Insertable(records).ExecuteCommand();
return result > 0 ? DataResult.Successed("保存成功", records, MultiLanguageConst.DataCreateSuccess) : DataResult.Successed("操作失败!", MultiLanguageConst.Operation_Failed);
@ -375,6 +383,7 @@ namespace DS.WMS.Core.Fee.Method
catch (Exception ex)
{
tenantDb.Ado.RollbackTran();
ex.Log(db);
return DataResult.Failed("提交失败!", MultiLanguageConst.Operation_Failed);
}
}
@ -509,8 +518,9 @@ namespace DS.WMS.Core.Fee.Method
}
}
tenantDb.Insertable<FeeModification>(items).ExecuteCommand();
tenantDb.Updateable<FeeRecord>(fees).UpdateColumns(x => new { x.FeeStatus, x.FlowId }).ExecuteCommand();
var list = items.ToList();
tenantDb.Insertable(list).ExecuteCommand();
tenantDb.Updateable(fees).UpdateColumns(x => new { x.FeeStatus, x.FlowId }).ExecuteCommand();
tenantDb.Ado.CommitTran();
return DataResult.Successed("提交成功!", MultiLanguageConst.DataUpdateSuccess);
@ -518,7 +528,7 @@ namespace DS.WMS.Core.Fee.Method
catch (Exception ex)
{
tenantDb.Ado.RollbackTran();
//todo:记录错误日志
ex.Log(db);
return DataResult.Failed("提交失败!", MultiLanguageConst.Operation_Failed);
}
}
@ -641,10 +651,10 @@ namespace DS.WMS.Core.Fee.Method
tenantDb.Ado.CommitTran();
return DataResult.Successed("提交成功!", MultiLanguageConst.DataUpdateSuccess);
}
catch (Exception)
catch (Exception ex)
{
tenantDb.Ado.RollbackTran();
//todo:记录错误日志
ex.Log(db);
return DataResult.Failed("提交失败!", MultiLanguageConst.Operation_Failed);
}
}
@ -676,12 +686,12 @@ namespace DS.WMS.Core.Fee.Method
return DataResult.Failed($"以下费用项:{msg} 未在审批状态中,无需撤销", MultiLanguageConst.Operation_Failed);
}
var flows = fees.Select(x => new FlowInstance { Id = x.FlowId.Value, FlowStatus = (int)FlowStatusEnum.Draft, MakerList = string.Empty });
var flows = fees.Select(x => new FlowInstance { Id = x.FlowId.Value, FlowStatus = (int)FlowStatusEnum.Draft, MakerList = string.Empty }).ToList();
DateTime dtNow = DateTime.Now;
try
{
tenantDb.Ado.BeginTran();
tenantDb.Updateable<FlowInstance>(flows).UpdateColumns(x => new { x.FlowStatus, x.MakerList }).ExecuteCommand();
db.Updateable(flows).UpdateColumns(x => new { x.FlowStatus, x.MakerList }).ExecuteCommand();
foreach (var item in fees)
{
@ -711,7 +721,7 @@ namespace DS.WMS.Core.Fee.Method
catch (Exception ex)
{
tenantDb.Ado.RollbackTran();
//todo:记录错误日志
ex.Log(db);
return DataResult.Failed("提交失败!", MultiLanguageConst.Operation_Failed);
}
@ -724,7 +734,7 @@ namespace DS.WMS.Core.Fee.Method
/// <returns></returns>
//public DataResult AuditBusiness(int type, long bid)
//{
//}
/// <summary>

@ -1,3 +1,4 @@
using System.Net;
using System.Text;
using DS.Module.Core;
using DS.Module.Core.Extensions;
@ -325,7 +326,7 @@ public class FlowInstanceService : IFlowInstanceService
instance.FlowStatus = FlowStatusEnum.Reject.ToEnumInt();
}
else if (!string.IsNullOrEmpty(res))
{
{
if (runtime.NextNodeType == 5)
{
instance.MakerList = runtime.GetOtherUsers(tag);
@ -409,6 +410,8 @@ public class FlowInstanceService : IFlowInstanceService
return DataResult.Successed("审批成功!", MultiLanguageConst.FlowInstanceAuditSuccess);
}
protected virtual void RunCallback(FlowInstance instance, Uri uri)
{
HttpClient http = new HttpClient();
@ -429,8 +432,7 @@ public class FlowInstanceService : IFlowInstanceService
var response = http.PostAsync(uri, jsonRequest).GetAwaiter().GetResult();
if (!response.IsSuccessStatusCode)
{
//todo:记录错误日志
new HttpRequestException("回调请求失败", null, response.StatusCode).Log(db);
}
//获取响应内容
@ -438,8 +440,7 @@ public class FlowInstanceService : IFlowInstanceService
}
catch (Exception ex)
{
//todo:记录错误日志
ex.Log(db);
}
finally
{

@ -820,7 +820,7 @@ public class FlowRuntime
}
/// <summary>
/// 节点会签审核
/// 节点审核
/// </summary>
/// <param name="nodeId">会签时currentNodeId是会签开始节点。这个表示当前正在处理的节点</param>
/// <param name="tag">节点标签</param>
@ -845,6 +845,7 @@ public class FlowRuntime
// int forkNumber = FromNodeLines[currentNodeId].Count; //直接与会签节点连接的点,即会签分支数目
string res = string.Empty; //记录会签的结果,默认正在会签
//或签
if (forkNode.Multi == "single") //有一个步骤通过即可
{
if (tag.Taged == (int)TagState.Ok)
@ -886,6 +887,7 @@ public class FlowRuntime
}
}
}
//会签
else //默认所有步骤通过
{
if (tag.Taged == (int)TagState.No) //只要有一个不同意,那么流程就结束
@ -898,9 +900,11 @@ public class FlowRuntime
if (forkNode.SetInfo.ConfluenceOk == null)
{
forkNode.SetInfo.ConfluenceOk = 1;
NextNodeType = 5;
res = nodeId;
return res;
if (forkNode.SetInfo.ConfluenceOk == forkNumber)
{
res = nextNode.Id;
}
}
else
{

@ -726,3 +726,66 @@
2024-05-29 09:24:06.1448 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config
2024-05-29 09:24:06.1448 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 09:24:06.1575 Info Configuration initialized.
2024-05-29 11:02:55.8048 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-05-29 11:02:55.8198 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-05-29 11:02:55.8198 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-05-29 11:02:55.8198 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-05-29 11:02:55.8419 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config
2024-05-29 11:02:55.8419 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 11:02:55.8419 Info Configuration initialized.
2024-05-29 14:29:16.9567 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-05-29 14:29:16.9707 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-05-29 14:29:16.9707 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-05-29 14:29:16.9837 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-05-29 14:29:16.9837 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config
2024-05-29 14:29:16.9837 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 14:29:16.9837 Info Configuration initialized.
2024-05-29 14:38:39.4903 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-05-29 14:38:39.5056 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-05-29 14:38:39.5056 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-05-29 14:38:39.5214 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-05-29 14:38:39.5214 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config
2024-05-29 14:38:39.5314 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 14:38:39.5314 Info Configuration initialized.
2024-05-29 14:46:10.7083 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-05-29 14:46:10.7242 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-05-29 14:46:10.7242 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-05-29 14:46:10.7398 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-05-29 14:46:10.7398 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config
2024-05-29 14:46:10.7398 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 14:46:10.7542 Info Configuration initialized.
2024-05-29 14:48:42.2919 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-05-29 14:48:42.3044 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-05-29 14:48:42.3044 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-05-29 14:48:42.3187 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-05-29 14:48:42.3187 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config
2024-05-29 14:48:42.3283 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 14:48:42.3283 Info Configuration initialized.
2024-05-29 15:24:05.1413 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-05-29 15:24:05.1413 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-05-29 15:24:05.1618 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-05-29 15:24:05.1804 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-05-29 15:24:05.1883 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config
2024-05-29 15:24:05.1883 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 15:24:05.2022 Info Configuration initialized.
2024-05-29 15:32:46.3934 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-05-29 15:32:46.4056 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-05-29 15:32:46.4056 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-05-29 15:32:46.4056 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-05-29 15:32:46.4265 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config
2024-05-29 15:32:46.4265 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 15:32:46.4265 Info Configuration initialized.
2024-05-29 15:41:08.4176 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-05-29 15:41:08.4314 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-05-29 15:41:08.4373 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-05-29 15:41:08.4373 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-05-29 15:41:08.4557 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config
2024-05-29 15:41:08.4557 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 15:41:08.4557 Info Configuration initialized.
2024-05-29 15:51:07.5526 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-05-29 15:51:07.5662 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-05-29 15:51:07.5662 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-05-29 15:51:07.5827 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-05-29 15:51:07.5827 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config
2024-05-29 15:51:07.5827 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 15:51:07.5953 Info Configuration initialized.

@ -5,7 +5,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<Project>
<PropertyGroup>
<_PublishTargetUrl>D:\Publish\DS8\FeeApi</_PublishTargetUrl>
<History>True|2024-05-29T00:36:28.9569161Z||;True|2024-05-28T08:44:31.4427261+08:00||;False|2024-05-28T08:44:02.5254826+08:00||;True|2024-05-27T15:16:32.9413631+08:00||;True|2024-05-27T15:03:42.9803879+08:00||;True|2024-05-27T08:49:54.3933663+08:00||;True|2024-05-27T08:46:13.5862236+08:00||;True|2024-05-23T17:19:32.8154451+08:00||;True|2024-05-23T17:19:01.4587615+08:00||;True|2024-05-22T16:52:42.2166228+08:00||;True|2024-05-22T15:19:49.1773202+08:00||;True|2024-05-22T15:13:31.9485525+08:00||;True|2024-05-22T13:29:02.1355808+08:00||;True|2024-05-22T09:48:40.8753914+08:00||;True|2024-05-22T09:25:06.2068137+08:00||;True|2024-05-22T09:18:53.0759815+08:00||;True|2024-05-21T17:13:36.4091775+08:00||;True|2024-05-21T14:41:18.8486299+08:00||;True|2024-05-21T11:04:27.3649637+08:00||;</History>
<History>True|2024-05-29T07:44:18.4051203Z||;True|2024-05-29T15:11:03.1518632+08:00||;True|2024-05-29T14:52:26.0823495+08:00||;True|2024-05-29T11:17:20.2245101+08:00||;True|2024-05-29T08:36:28.9569161+08:00||;True|2024-05-28T08:44:31.4427261+08:00||;False|2024-05-28T08:44:02.5254826+08:00||;True|2024-05-27T15:16:32.9413631+08:00||;True|2024-05-27T15:03:42.9803879+08:00||;True|2024-05-27T08:49:54.3933663+08:00||;True|2024-05-27T08:46:13.5862236+08:00||;True|2024-05-23T17:19:32.8154451+08:00||;True|2024-05-23T17:19:01.4587615+08:00||;True|2024-05-22T16:52:42.2166228+08:00||;True|2024-05-22T15:19:49.1773202+08:00||;True|2024-05-22T15:13:31.9485525+08:00||;True|2024-05-22T13:29:02.1355808+08:00||;True|2024-05-22T09:48:40.8753914+08:00||;True|2024-05-22T09:25:06.2068137+08:00||;True|2024-05-22T09:18:53.0759815+08:00||;True|2024-05-21T17:13:36.4091775+08:00||;True|2024-05-21T14:41:18.8486299+08:00||;True|2024-05-21T11:04:27.3649637+08:00||;</History>
<LastFailureDetails />
</PropertyGroup>
</Project>

@ -1562,3 +1562,66 @@
2024-05-29 09:24:06.8138 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.MainApi\bin\Debug\net8.0\nlog.config
2024-05-29 09:24:06.8138 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 09:24:06.8317 Info Configuration initialized.
2024-05-29 11:02:55.6478 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-05-29 11:02:55.6595 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-05-29 11:02:55.6595 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-05-29 11:02:55.6721 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-05-29 11:02:55.6721 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.MainApi\bin\Debug\net8.0\nlog.config
2024-05-29 11:02:55.6721 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 11:02:55.6721 Info Configuration initialized.
2024-05-29 14:29:17.3468 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-05-29 14:29:17.3592 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-05-29 14:29:17.3592 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-05-29 14:29:17.3592 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-05-29 14:29:17.3763 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.MainApi\bin\Debug\net8.0\nlog.config
2024-05-29 14:29:17.3763 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 14:29:17.3763 Info Configuration initialized.
2024-05-29 14:38:39.8551 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-05-29 14:38:39.8739 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-05-29 14:38:39.8781 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-05-29 14:38:39.8781 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-05-29 14:38:39.8993 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.MainApi\bin\Debug\net8.0\nlog.config
2024-05-29 14:38:39.8993 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 14:38:39.9088 Info Configuration initialized.
2024-05-29 14:46:10.9929 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-05-29 14:46:11.0061 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-05-29 14:46:11.0061 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-05-29 14:46:11.0197 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-05-29 14:46:11.0197 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.MainApi\bin\Debug\net8.0\nlog.config
2024-05-29 14:46:11.0197 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 14:46:11.0197 Info Configuration initialized.
2024-05-29 14:48:42.7346 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-05-29 14:48:42.7503 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-05-29 14:48:42.7503 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-05-29 14:48:42.7696 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-05-29 14:48:42.7696 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.MainApi\bin\Debug\net8.0\nlog.config
2024-05-29 14:48:42.7696 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 14:48:42.7857 Info Configuration initialized.
2024-05-29 15:24:05.7283 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-05-29 15:24:05.7437 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-05-29 15:24:05.7437 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-05-29 15:24:05.7601 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-05-29 15:24:05.7665 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.MainApi\bin\Debug\net8.0\nlog.config
2024-05-29 15:24:05.7665 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 15:24:05.7665 Info Configuration initialized.
2024-05-29 15:32:46.8282 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-05-29 15:32:46.8435 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-05-29 15:32:46.8435 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-05-29 15:32:46.8599 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-05-29 15:32:46.8599 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.MainApi\bin\Debug\net8.0\nlog.config
2024-05-29 15:32:46.8599 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 15:32:46.8599 Info Configuration initialized.
2024-05-29 15:41:09.0089 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-05-29 15:41:09.0200 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-05-29 15:41:09.0200 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-05-29 15:41:09.0321 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-05-29 15:41:09.0321 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.MainApi\bin\Debug\net8.0\nlog.config
2024-05-29 15:41:09.0321 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 15:41:09.0321 Info Configuration initialized.
2024-05-29 15:51:08.2609 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-05-29 15:51:08.2824 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-05-29 15:51:08.2824 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-05-29 15:51:08.3052 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-05-29 15:51:08.3160 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.MainApi\bin\Debug\net8.0\nlog.config
2024-05-29 15:51:08.3160 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-05-29 15:51:08.3302 Info Configuration initialized.

Loading…
Cancel
Save