Skip to content

Commit

Permalink
Fix category of license log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
josephdecock committed Dec 5, 2024
1 parent b1757a6 commit 35da3cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/IdentityServer/Licensing/v2/LicenseExpirationChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ internal class LicenseExpirationChecker : ILicenseExpirationChecker
{
private readonly ILicenseAccessor _license;
private readonly TimeProvider _timeProvider;
private readonly ILogger<LicenseExpirationChecker> _logger;
private readonly ILogger _logger;

public LicenseExpirationChecker(
ILicenseAccessor license,
TimeProvider timeProvider,
ILogger<LicenseExpirationChecker> logger)
ILoggerFactory loggerFactory)
{
_license = license;
_timeProvider = timeProvider;
_logger = logger;
_logger = loggerFactory.CreateLogger("Duende.IdentityServer.License");
}

/// <summary>
Expand Down
6 changes: 3 additions & 3 deletions src/IdentityServer/Licensing/v2/ProtocolRequestCounter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ internal class ProtocolRequestCounter : IProtocolRequestCounter
{
public ProtocolRequestCounter(
ILicenseAccessor license,
ILogger<ProtocolRequestCounter> logger)
ILoggerFactory loggerFactory)
{
_license = license;
_logger = logger;
_logger = loggerFactory.CreateLogger("Duende.IdentityServer.License");
}

/// <summary>
Expand All @@ -24,7 +24,7 @@ public ProtocolRequestCounter(
internal uint Threshold = 1000;

private readonly ILicenseAccessor _license;
private readonly ILogger<ProtocolRequestCounter> _logger;
private readonly ILogger _logger;

private bool _warned;

Expand Down

0 comments on commit 35da3cb

Please sign in to comment.