c# - How to override default logging information in ASP.NET Core -


when start default asp.net core application got following lines in console:

hosting environment: production listening on: http://localhost:5000 application started. press ctrl+c shut down. 

where can change logs?

those lines not logged, instead printed console. causing output webhost.run() default way start application. or in particular, internal runasync() sets up.

you cannot change output without writing code yourself.


Comments