Use type's namespace instead of assembly FullName
This commit is contained in:
parent
75adbc18a2
commit
8a9840216c
|
|
@ -41,7 +41,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel
|
||||||
|
|
||||||
Options = options.Value ?? new KestrelServerOptions();
|
Options = options.Value ?? new KestrelServerOptions();
|
||||||
_applicationLifetime = applicationLifetime;
|
_applicationLifetime = applicationLifetime;
|
||||||
_logger = loggerFactory.CreateLogger(typeof(KestrelServer).GetTypeInfo().Assembly.FullName);
|
_logger = loggerFactory.CreateLogger(typeof(KestrelServer).GetTypeInfo().Namespace);
|
||||||
Features = new FeatureCollection();
|
Features = new FeatureCollection();
|
||||||
var componentFactory = new HttpComponentFactory(Options);
|
var componentFactory = new HttpComponentFactory(Options);
|
||||||
Features.Set<IHttpComponentFactory>(componentFactory);
|
Features.Set<IHttpComponentFactory>(componentFactory);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue