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

Commit

Permalink
Restrict log files to Warning by default to reduce verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Moerman committed Jun 13, 2018
1 parent bdb8b1d commit 56212e8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/TeamCityTheatre.Web/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
"Storage": {
"ConfigurationFile": "C:\\TeamCityTheatre\\configuration.json"
},
"Connection": {
"Url": "http://your-teamcity-server",
"Username": "your-teamcity-user",
"Password": "your-teamcity-user-password"
},
"Serilog": {
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
"WriteTo": {
Expand All @@ -18,6 +23,7 @@
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u4}] ({RequestId}) {SourceContext} {Message}{NewLine}{Exception}",
"fileSizeLimitBytes": 26214400,
"retainedFileCountLimit": 3,
"restrictedToMinimumLevel": "Warning",
"rollingInterval": "Day",
"rollOnFileSizeLimit": true
}
Expand Down

0 comments on commit 56212e8

Please sign in to comment.