summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilrain2019-12-16 11:59:33 +0100
committerGilrain2019-12-16 11:59:33 +0100
commitbc245ed3ccba19a44032bd9fd1d3a82ba80c801c (patch)
treea6509eb13a87576eb7260917746142e635da553d
parentf2abd407bfcc3b2d1f9f48db313dd9bac8655b92 (diff)
downloadaur-bc245ed3ccba19a44032bd9fd1d3a82ba80c801c.tar.gz
simplify log output to journald by removing duplicate fields (time and process id)
-rw-r--r--NLog.config4
1 files changed, 2 insertions, 2 deletions
diff --git a/NLog.config b/NLog.config
index a2c80215baa7..009ca8caa098 100644
--- a/NLog.config
+++ b/NLog.config
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="https://nlog-project.org/schemas/NLog.xsd" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance">
<targets>
- <target xsi:type="ColoredConsole" name="ColoredConsole" detectConsoleAvailable="false" layout="${date:format=yyyy-MM-dd HH\:mm\:ss}|${processname}-${processid}|${level:uppercase=true}|${logger}|${message}${onexception:inner= ${exception:format=toString,Data}}" />
+ <target xsi:type="ColoredConsole" name="ColoredConsole" detectConsoleAvailable="false" layout="${level:uppercase=true}|${logger}|${message}${onexception:inner= ${exception:format=toString,Data}}" />
<!-- Below becomes active when ASF is started with server parameter -->
- <!-- <target type="History" name="History" layout="${date:format=yyyy-MM-dd HH\:mm\:ss}|${processname}-${processid}|${level:uppercase=true}|${logger}|${message}${onexception:inner= ${exception:format=toString,Data}}" maxCount="20" /> -->
+ <!-- <target type="History" name="History" layout="${level:uppercase=true}|${logger}|${message}${onexception:inner= ${exception:format=toString,Data}}" maxCount="20" /> -->
</targets>
<rules>