Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

No logging of base address #328

Closed
DamianEdwards opened this issue Aug 14, 2015 · 2 comments
Closed

No logging of base address #328

DamianEdwards opened this issue Aug 14, 2015 · 2 comments

Comments

@DamianEdwards
Copy link
Member

From @dougbu on June 20, 2015 19:59

Kestrel server, at least on Windows, no longer logs the address where its base address. The experience is thus poorer than with WebListener. May also be a regression from earlier versions. This occurs with both recent Beta 5 and Beta 6 builds.

E.g. complete Kestrel output for startup, one request, and shutdown with the following in Startup.Configure():

loggerFactory.MinimumLevel = LogLevel.Debug;
loggerFactory.AddConsole();

Kestrel:

C:\dd\projects\MVC6.JsonPatch.20150619\src\MVC6.JsonPatch.20150619> dnx . kestrel
Started
info    : [Microsoft.AspNet.Routing.Template.TemplateRoute] Request successfully matched the route with name 'default' and template '{controller=Home}/{action=Index}/{id?}'.

WebListener:

> dnx . web
info    : [Microsoft.Net.Http.Server.WebListener] Start
info    : [Microsoft.Net.Http.Server.WebListener] Listening on prefix: http://localhost:5000/
Started
info    : [Microsoft.AspNet.Routing.Template.TemplateRoute] Request successfully matched the route with name 'default' and template '{controller=Home}/{action=Index}/{id?}'.

Copied from original issue: aspnet/KestrelHttpServer#109

@DamianEdwards
Copy link
Member Author

From @dougbu on July 24, 2015 23:52

Confirmed bug remains with latest Beta 6 packages. Also repros with Mono.

Side note: Routing no longer logs information about matched routes. So Kestrel output is just Started while WebListener now shows

> dnx . web
info    : [Microsoft.Net.Http.Server.WebListener] Start
info    : [Microsoft.Net.Http.Server.WebListener] Listening on prefix: http://localhost:5000/
Started
info    : [Microsoft.Net.Http.Server.WebListener] Dispose
info    : [Microsoft.Net.Http.Server.WebListener] Stop listening on prefix: http://localhost:5000/

@DamianEdwards
Copy link
Member Author

We'll address this generically in Hosting using the server features implementation when that's done.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants