Changed Log Level of "Checking Articles..." message in NewsletterBackgroundService to Debug
This commit is contained in:
parent
bd7db5c7b7
commit
0a05cb5de7
|
@ -13,7 +13,7 @@ public class NewsletterBackgroundService(ILogger<NewsletterBackgroundService> lo
|
||||||
|
|
||||||
public async ValueTask DoWork(CancellationToken cancellationToken) {
|
public async ValueTask DoWork(CancellationToken cancellationToken) {
|
||||||
try {
|
try {
|
||||||
Logger.LogInformation("Checking Articles...");
|
Logger.LogDebug("Checking Articles...");
|
||||||
|
|
||||||
await using var context = await ContextFactory.CreateDbContextAsync(cancellationToken);
|
await using var context = await ContextFactory.CreateDbContextAsync(cancellationToken);
|
||||||
var now = DateTimeOffset.UtcNow;
|
var now = DateTimeOffset.UtcNow;
|
||||||
|
|
Loading…
Reference in a new issue