Giter Club home page Giter Club logo

Comments (8)

Tratcher avatar Tratcher commented on July 2, 2024

RE: aspnet/HttpSysServer#74 (private).

It doesn't print this today because Hosting doesn't know, only WebListener/Kestrel knows, and WebListener shouldn't be doing random Console.WriteLine's.

from hosting.

sayedihashimi avatar sayedihashimi commented on July 2, 2024

What about the commands themselves? Can the printout they printout the arguments?

from hosting.

nyxtom avatar nyxtom commented on July 2, 2024

While I agree that WebListener/Kestrel shouldn't be doing random Console.Writelines. There should be a consensus on at the very least logging this information. At which point it would be useful to simply redirect the logging to standard output or wherever else we wish to choose. Right now the current setup is very inflexible and doesn't give you much verbosity in terms of logging information.

from hosting.

Tratcher avatar Tratcher commented on July 2, 2024

That is the current proposal: The servers should "...log the addresses at startup as Informational, and the console logger will display it by default."

from hosting.

sayedihashimi avatar sayedihashimi commented on July 2, 2024

It doesn't look like this is getting any attention.

@glennc should I close this item?

from hosting.

Tratcher avatar Tratcher commented on July 2, 2024

It's happening, we just needed to do some work on the console logger first to make the output legible. aspnet/Logging#70

from hosting.

glennc avatar glennc commented on July 2, 2024

This has been done, you can see the url and port if you have a console logger attached, which the default template does.

from hosting.

flyandi avatar flyandi commented on July 2, 2024

Can someone explain why everything with Microsoft has to be so complicated. Why not just add a flag to see directly the console output or someone could just post a full description instead of cryptic answers. Lot's of people have issue and there is barely documentation available and people land here and find an uncompleted answer. You can't expect that everyone is involved in the core development of ASP.NET 5.0. Although promising it has been more than frustrating so far.

from hosting.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.