1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 00:22:50 -05:00

log startup

This commit is contained in:
Kyle Spearrin
2019-11-27 14:42:24 -05:00
parent a5b809f477
commit 9e470c1f7a
2 changed files with 11 additions and 2 deletions

View File

@ -140,7 +140,8 @@ namespace Bit.Api
IApplicationBuilder app,
IHostingEnvironment env,
IApplicationLifetime appLifetime,
GlobalSettings globalSettings)
GlobalSettings globalSettings,
ILogger<Startup> logger)
{
IdentityModelEventSource.ShowPII = true;
app.UseSerilog(env, appLifetime, globalSettings);
@ -194,6 +195,9 @@ namespace Bit.Api
config.OAuthClientSecret("secretKey");
});
}
// Log startup
logger.LogInformation(Constants.BypassFiltersEventId, globalSettings.ProjectName + " started.");
}
}
}