Skip to content
This repository was archived by the owner on May 25, 2020. It is now read-only.

Commit 56212e8

Browse files
author
Alexander Moerman
committed
Restrict log files to Warning by default to reduce verbosity
1 parent bdb8b1d commit 56212e8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/TeamCityTheatre.Web/appsettings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
"Storage": {
33
"ConfigurationFile": "C:\\TeamCityTheatre\\configuration.json"
44
},
5+
"Connection": {
6+
"Url": "http://your-teamcity-server",
7+
"Username": "your-teamcity-user",
8+
"Password": "your-teamcity-user-password"
9+
},
510
"Serilog": {
611
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
712
"WriteTo": {
@@ -18,6 +23,7 @@
1823
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u4}] ({RequestId}) {SourceContext} {Message}{NewLine}{Exception}",
1924
"fileSizeLimitBytes": 26214400,
2025
"retainedFileCountLimit": 3,
26+
"restrictedToMinimumLevel": "Warning",
2127
"rollingInterval": "Day",
2228
"rollOnFileSizeLimit": true
2329
}

0 commit comments

Comments
 (0)