1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-22 21:51:22 +01:00

log keepalive task

This commit is contained in:
Kyle Spearrin 2019-08-27 15:19:10 -04:00
parent a9da624b1d
commit d0abd413ba

View File

@ -22,7 +22,10 @@ namespace Bit.Admin.Jobs
protected async override Task ExecuteJobAsync(IJobExecutionContext context)
{
await _httpClient.GetAsync(_globalSettings.BaseServiceUri.Admin);
_logger.LogInformation(Constants.BypassFiltersEventId, "Execute job task: Keep alive");
var response = await _httpClient.GetAsync(_globalSettings.BaseServiceUri.Admin);
_logger.LogInformation(Constants.BypassFiltersEventId, "Finished job task: Keep alive, " +
response.StatusCode);
}
}
}