Reduce the noise of some logging that's really only useful for troubleshooting/debugging.
This commit is contained in:
parent
1c3f890240
commit
b142daeccb
|
|
@ -58,7 +58,7 @@ namespace Microsoft.AspNetCore.Components.Server.Circuits
|
||||||
typeof(RemoteUriHelper).Assembly.GetName().Name,
|
typeof(RemoteUriHelper).Assembly.GetName().Name,
|
||||||
nameof(NotifyLocationChanged));
|
nameof(NotifyLocationChanged));
|
||||||
|
|
||||||
_logger.LogInformation($"{nameof(RemoteUriHelper)} initialized.");
|
_logger.LogDebug($"{nameof(RemoteUriHelper)} initialized.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ namespace Microsoft.AspNetCore.Components.Server
|
||||||
var endpointFeature = Context.GetHttpContext().Features.Get<IEndpointFeature>();
|
var endpointFeature = Context.GetHttpContext().Features.Get<IEndpointFeature>();
|
||||||
var endpoint = endpointFeature?.Endpoint;
|
var endpoint = endpointFeature?.Endpoint;
|
||||||
|
|
||||||
_logger.LogInformation($"No components registered in the current endpoint '{endpoint.DisplayName}'.");
|
_logger.LogDebug($"No components registered in the current endpoint '{endpoint.DisplayName}'.");
|
||||||
|
|
||||||
// No components preregistered so return. This is totally normal if the components were prerendered.
|
// No components preregistered so return. This is totally normal if the components were prerendered.
|
||||||
return null;
|
return null;
|
||||||
|
|
@ -131,7 +131,7 @@ namespace Microsoft.AspNetCore.Components.Server
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void OnRenderCompleted(long renderId, string errorMessageOrNull)
|
public void OnRenderCompleted(long renderId, string errorMessageOrNull)
|
||||||
{
|
{
|
||||||
_logger.LogInformation($"Received confirmation for batch {renderId}.");
|
_logger.LogDebug($"Received confirmation for batch {renderId}.");
|
||||||
EnsureCircuitHost().Renderer.OnRenderCompleted(renderId, errorMessageOrNull);
|
EnsureCircuitHost().Renderer.OnRenderCompleted(renderId, errorMessageOrNull);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue