File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1313 <!-- the targets to write to -->
1414 <targets >
1515 <!-- File Target for all log messages with basic details -->
16- <target xsi : type =" File" name =" allfile" fileName =" c:\temp\nlog-AspNetCore -all-${shortdate}.log"
16+ <target xsi : type =" File" name =" allfile" fileName =" c:\temp\botticelli-bot -all-${shortdate}.log"
1717 layout =" ${longdate}|${event-properties:item=EventId:whenEmpty=0}|${level:uppercase=true}|${logger}|${message} ${exception:format=tostring}" />
1818
1919 <!-- File Target for own log messages with extra web details using some ASP.NET core renderers -->
20- <target xsi : type =" File" name =" ownFile-web" fileName =" c:\temp\nlog-AspNetCore-own -${shortdate}.log"
20+ <target xsi : type =" File" name =" ownFile-web" fileName =" c:\temp\botticelli-bot-netcore -${shortdate}.log"
2121 layout =" ${longdate}|${event-properties:item=EventId:whenEmpty=0}|${level:uppercase=true}|${logger}|${message} ${exception:format=tostring}|url: ${aspnet-request-url}|action: ${aspnet-mvc-action}" />
2222
2323 <!-- Console Target for hosting lifetime messages to improve Docker / Visual Studio startup detection -->
Original file line number Diff line number Diff line change 2727 <PackagePath >\</PackagePath >
2828 </None >
2929 <Content Remove =" nlog.config" />
30- <None Include =" nlog.config" />
30+ <None Include =" nlog.config" >
31+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
32+ </None >
3133 </ItemGroup >
3234
3335 <ItemGroup >
Original file line number Diff line number Diff line change 1313 <!-- the targets to write to -->
1414 <targets >
1515 <!-- File Target for all log messages with basic details -->
16- <target xsi : type =" File" name =" allfile" fileName =" c:\temp\nlog-AspNetCore -all-${shortdate}.log"
16+ <target xsi : type =" File" name =" allfile" fileName =" c:\temp\botticelli-server -all-${shortdate}.log"
1717 layout =" ${longdate}|${event-properties:item=EventId:whenEmpty=0}|${level:uppercase=true}|${logger}|${message} ${exception:format=tostring}" />
1818
1919 <!-- File Target for own log messages with extra web details using some ASP.NET core renderers -->
20- <target xsi : type =" File" name =" ownFile-web" fileName =" c:\temp\nlog-AspNetCore-own -${shortdate}.log"
20+ <target xsi : type =" File" name =" ownFile-web" fileName =" c:\temp\botticelli-server-netcore -${shortdate}.log"
2121 layout =" ${longdate}|${event-properties:item=EventId:whenEmpty=0}|${level:uppercase=true}|${logger}|${message} ${exception:format=tostring}|url: ${aspnet-request-url}|action: ${aspnet-mvc-action}" />
2222
2323 <!-- Console Target for hosting lifetime messages to improve Docker / Visual Studio startup detection -->
You can’t perform that action at this time.
0 commit comments