Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KPI Reporting Generator
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coscine
backend
scripts
KPI Reporting Generator
Merge requests
!29
Release: Sprint 14
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Release: Sprint 14
dev
into
main
Overview
0
Commits
4
Pipelines
1
Changes
2
Merged
Sirieam Marie Hunke
requested to merge
dev
into
main
1 year ago
Overview
0
Commits
4
Pipelines
1
Changes
2
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
ff89cf5e
4 commits,
1 year ago
2 files
+
108
−
20
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
src/KPI Generator/nlog.config
+
65
−
14
View file @ ff89cf5e
Edit in single-file editor
Open in Web IDE
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
nlog
xmlns
=
"http://www.nlog-project.org/schemas/NLog.xsd"
<
nlog
xmlns
=
"http://www.nlog-project.org/schemas/NLog.xsd"
xmlns
:
xsi
=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns
:
xsi
=
"http://www.w3.org/2001/XMLSchema-instance"
throwExceptions
=
"true"
throwConfigExceptions
=
"true"
throwExceptions
=
"false"
internalLogFile
=
"Logs/internal-nlog.txt"
internalLogFile
=
"Logs/internal-nlog.txt"
internalLogLevel
=
"Trace"
>
internalLogLevel
=
"Trace"
>
<
targets
>
<
targets
>
<!--
Write
logs
to
File
-->
<!--
Write
logs
to
File
-->
<
target
xsi
:
type
=
"File"
name
=
"fileLog"
fileName
=
"C:/coscine/logs/${assembly-name}/${assembly-version}/log-${shortdate}.log"
>
<
target
xsi
:
type
=
"FallbackGroup"
<
layout
xsi
:
type
=
"JsonLayout"
EscapeForwardSlash
=
"true"
>
name
=
"fileGroup"
>
<
attribute
layout
=
"${longdate}"
name
=
"Timestamp"
/>
<
target
<
attribute
layout
=
"${level:upperCase=true}"
name
=
"Level"
/>
xsi
:
type
=
"File"
<
attribute
layout
=
"${message}"
name
=
"Message"
/>
name
=
"fileLogD"
<
attribute
layout
=
"${exception:format=tostring,StackTrace}"
name
=
"Exception"
/>
fileName
=
"D:/coscine/logs/${assembly-name}/${assembly-version}/log-${shortdate}.log"
<
attribute
layout
=
"${ndlc}"
name
=
"Context"
/>
maxArchiveFiles
=
"7"
<
attribute
layout
=
"${event-properties:item=Metric}"
name
=
"Alarm"
encode
=
"false"
/>
>
<
attribute
name
=
"EventProperties"
encode
=
"false"
>
<
layout
xsi
:
type
=
"CompoundLayout"
>
<
layout
xsi
:
type
=
'JsonLayout'
includeAllProperties
=
"true"
maxRecursionLimit
=
"2"
/>
<
layout
xsi
:
type
=
"JsonLayout"
EscapeForwardSlash
=
"true"
>
</
attribute
>
<
attribute
layout
=
"${longdate}"
name
=
"Timestamp"
/>
</
layout
>
<
attribute
layout
=
"${level:upperCase=true}"
name
=
"Level"
/>
<
attribute
layout
=
"${message}"
name
=
"Message"
/>
<
attribute
layout
=
"${exception:format=tostring,StackTrace}"
name
=
"Exception"
/>
<
attribute
layout
=
"${ndlc}"
name
=
"Context"
/>
<
attribute
layout
=
"${event-properties:item=Metric}"
name
=
"Alarm"
encode
=
"false"
/>
<
attribute
name
=
"EventProperties"
encode
=
"false"
>
<
layout
xsi
:
type
=
'JsonLayout'
includeAllProperties
=
"true"
maxRecursionLimit
=
"2"
/>
</
attribute
>
</
layout
>
<
layout
xsi
:
type
=
'SimpleLayout'
text
=
","
/>
</
layout
>
</
target
>
<
target
xsi
:
type
=
"File"
name
=
"fileLogC"
fileName
=
"C:/coscine/logs/${assembly-name}/${assembly-version}/log-${shortdate}.log"
maxArchiveFiles
=
"7"
>
<
layout
xsi
:
type
=
"CompoundLayout"
>
<
layout
xsi
:
type
=
"JsonLayout"
EscapeForwardSlash
=
"true"
>
<
attribute
layout
=
"${longdate}"
name
=
"Timestamp"
/>
<
attribute
layout
=
"${level:upperCase=true}"
name
=
"Level"
/>
<
attribute
layout
=
"${message}"
name
=
"Message"
/>
<
attribute
layout
=
"${exception:format=tostring,StackTrace}"
name
=
"Exception"
/>
<
attribute
layout
=
"${ndlc}"
name
=
"Context"
/>
<
attribute
layout
=
"${event-properties:item=Metric}"
name
=
"Alarm"
encode
=
"false"
/>
<
attribute
name
=
"EventProperties"
encode
=
"false"
>
<
layout
xsi
:
type
=
'JsonLayout'
includeAllProperties
=
"true"
maxRecursionLimit
=
"2"
/>
</
attribute
>
</
layout
>
<
layout
xsi
:
type
=
'SimpleLayout'
text
=
","
/>
</
layout
>
</
target
>
</
target
>
<!--
Write
colored
logs
to
Console
-->
<
target
name
=
"consoleLog"
xsi
:
type
=
"ColoredConsole"
layout
=
"[${uppercase:${level}}]: ${message}"
>
<
highlight
-
row
condition
=
"level == LogLevel.Debug"
foregroundColor
=
"DarkGray"
/>
<
highlight
-
row
condition
=
"level == LogLevel.Info"
foregroundColor
=
"White"
/>
<
highlight
-
row
condition
=
"level == LogLevel.Warn"
foregroundColor
=
"Yellow"
/>
<
highlight
-
row
condition
=
"level == LogLevel.Error"
foregroundColor
=
"DarkRed"
/>
<
highlight
-
row
condition
=
"level == LogLevel.Fatal"
foregroundColor
=
"Red"
backgroundColor
=
"White"
/>
</
target
>
</
target
>
</
targets
>
</
targets
>
<
rules
>
<
rules
>
<!--
All
logs
,
including
from
Microsoft
,
Level
Trace
-->
<!--
All
logs
,
including
from
Microsoft
,
Level
Trace
-->
<
logger
name
=
"*"
minlevel
=
"Trace"
writeTo
=
"fileLog"
/>
<
logger
name
=
"*"
minlevel
=
"Trace"
writeTo
=
"fileGroup"
>
</
logger
>
<!--
All
logs
,
including
from
Microsoft
,
Level
Info
-->
<
logger
name
=
"*"
minlevel
=
"Info"
writeTo
=
"consoleLog"
>
<
filters
defaultAction
=
"Log"
>
<
when
condition
=
"contains('${ndlc}','/api/heartbeat')"
action
=
"Ignore"
/>
</
filters
>
</
logger
>
</
rules
>
</
rules
>
</
nlog
>
</
nlog
>
\ No newline at end of file
Loading