mirror of
https://github.com/bitwarden/server
synced 2025-12-17 08:43:27 +00:00
log startup
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user