diff --git a/DnsServerCore/Dns/Applications/DnsApplicationManager.cs b/DnsServerCore/Dns/Applications/DnsApplicationManager.cs index faef83f9..790b5d1b 100644 --- a/DnsServerCore/Dns/Applications/DnsApplicationManager.cs +++ b/DnsServerCore/Dns/Applications/DnsApplicationManager.cs @@ -40,7 +40,7 @@ namespace DnsServerCore.Dns.Applications IReadOnlyList _dnsRequestControllers = Array.Empty(); IReadOnlyList _dnsAuthoritativeRequestHandlers = Array.Empty(); - IReadOnlyList _dnsLoggers = Array.Empty(); + IReadOnlyList _dnsQueryLoggers = Array.Empty(); #endregion @@ -122,7 +122,7 @@ namespace DnsServerCore.Dns.Applications { List dnsRequestControllers = new List(1); List dnsAuthoritativeRequestHandlers = new List(1); - List dnsLoggers = new List(1); + List dnsQueryLoggers = new List(1); foreach (KeyValuePair application in _applications) { @@ -132,13 +132,13 @@ namespace DnsServerCore.Dns.Applications foreach (KeyValuePair handler in application.Value.DnsAuthoritativeRequestHandlers) dnsAuthoritativeRequestHandlers.Add(handler.Value); - foreach (KeyValuePair logger in application.Value.DnsLoggers) - dnsLoggers.Add(logger.Value); + foreach (KeyValuePair logger in application.Value.DnsQueryLoggers) + dnsQueryLoggers.Add(logger.Value); } _dnsRequestControllers = dnsRequestControllers; _dnsAuthoritativeRequestHandlers = dnsAuthoritativeRequestHandlers; - _dnsLoggers = dnsLoggers; + _dnsQueryLoggers = dnsQueryLoggers; } #endregion @@ -164,7 +164,7 @@ namespace DnsServerCore.Dns.Applications _applications.Clear(); _dnsRequestControllers = Array.Empty(); _dnsAuthoritativeRequestHandlers = Array.Empty(); - _dnsLoggers = Array.Empty(); + _dnsQueryLoggers = Array.Empty(); } public void LoadAllApplications() @@ -280,8 +280,8 @@ namespace DnsServerCore.Dns.Applications public IReadOnlyList DnsAuthoritativeRequestHandlers { get { return _dnsAuthoritativeRequestHandlers; } } - public IReadOnlyList DnsLoggers - { get { return _dnsLoggers; } } + public IReadOnlyList DnsQueryLoggers + { get { return _dnsQueryLoggers; } } #endregion }