1
0
mirror of https://github.com/bitwarden/server synced 2026-01-07 11:03:37 +00:00

Add sentry logging support. (#240)

This commit is contained in:
David Roth
2018-03-23 18:33:31 +01:00
committed by Kyle Spearrin
parent bf3c01ac46
commit 702d833cea
15 changed files with 44 additions and 7 deletions

View File

@@ -66,7 +66,7 @@ namespace Bit.Jobs
GlobalSettings globalSettings)
{
loggerFactory
.AddSerilog(env, appLifetime, globalSettings, e => e.Level >= LogEventLevel.Information)
.AddSerilog(app, env, appLifetime, globalSettings, e => e.Level >= LogEventLevel.Information)
.AddConsole()
.AddDebug();
}

View File

@@ -30,6 +30,9 @@
"uri": "SECRET",
"key": "SECRET"
},
"sentry": {
"dsn": "SECRET"
},
"notificationHub": {
"connectionString": "SECRET",
"hubName": "SECRET"