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

No logging of base address #109

Closed
dougbu opened this issue Jun 20, 2015 · 2 comments
Closed

No logging of base address #109

dougbu opened this issue Jun 20, 2015 · 2 comments

Comments

@dougbu
Copy link
Member

dougbu commented Jun 20, 2015

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?}'.
@dougbu
Copy link
Member Author

dougbu commented Jul 24, 2015

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

This issue was moved to aspnet/Hosting#328

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

No branches or pull requests

2 participants