Pulizia NLog inutili
This commit is contained in:
@@ -3,20 +3,11 @@
|
||||
|
||||
<targets>
|
||||
<!-- file target -->
|
||||
<target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log"
|
||||
layout="${longdate} [${uppercase:${level}}] ${message}" archiveEvery="Day" />
|
||||
|
||||
<!--viewer interattivo sentinel... http://sentinel.codeplex.com/-->
|
||||
<target xsi:type="NLogViewer" name="sentinel" address="udp://127.0.0.1:9999"/>
|
||||
<!--
|
||||
<target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log"
|
||||
layout="${longdate} ${uppercase:${level}} ${message}" />
|
||||
-->
|
||||
<target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log" layout="${longdate} [${uppercase:${level}}] ${message}" archiveEvery="Day" />
|
||||
</targets>
|
||||
|
||||
<rules>
|
||||
<!-- logging rules -->
|
||||
<logger name="*" minlevel="Trace" writeTo="f" />
|
||||
<!--<logger name="*" minlevel="Trace" writeTo="sentinel" />-->
|
||||
</rules>
|
||||
</nlog>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="NLog" version="4.0.0" targetFramework="net45" />
|
||||
<package id="NLog.Config" version="4.0.0" targetFramework="net45" />
|
||||
<package id="NLog.Schema" version="4.0.0" targetFramework="net45" />
|
||||
<package id="NLog.Web" version="2.0.0.0" targetFramework="net45" />
|
||||
<package id="NLog" version="4.5.11" targetFramework="net45" />
|
||||
</packages>
|
||||
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
-19425
File diff suppressed because it is too large
Load Diff
BIN
Binary file not shown.
-19420
File diff suppressed because it is too large
Load Diff
BIN
Binary file not shown.
-19540
File diff suppressed because it is too large
Load Diff
Vendored
BIN
Binary file not shown.
Vendored
-13172
File diff suppressed because it is too large
Load Diff
Vendored
BIN
Binary file not shown.
Vendored
-13172
File diff suppressed because it is too large
Load Diff
Binary file not shown.
-25
@@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<!--
|
||||
See https://github.com/nlog/nlog/wiki/Configuration-file
|
||||
for information on customizing logging rules and outputs.
|
||||
-->
|
||||
<targets>
|
||||
<!-- add your targets here -->
|
||||
|
||||
<!--
|
||||
<target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log"
|
||||
layout="${longdate} ${uppercase:${level}} ${message}" />
|
||||
-->
|
||||
</targets>
|
||||
|
||||
<rules>
|
||||
<!-- add your logging rules here -->
|
||||
|
||||
<!--
|
||||
<logger name="*" minlevel="Trace" writeTo="f" />
|
||||
-->
|
||||
</rules>
|
||||
</nlog>
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
$configItem = $project.ProjectItems.Item("NLog.config")
|
||||
|
||||
# set 'Copy To Output Directory' to 'Copy if newer'
|
||||
$copyToOutput = $configItem.Properties.Item("CopyToOutputDirectory")
|
||||
$copyToOutput.Value = 1
|
||||
|
||||
# set 'Build Action' to 'Content'
|
||||
$buildAction = $configItem.Properties.Item("BuildAction")
|
||||
$buildAction.Value = 2
|
||||
|
||||
Binary file not shown.
-2479
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user