File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 33using System . Linq ;
44using System . Threading . Tasks ;
55using Microsoft . AspNetCore . Hosting ;
6+ using Microsoft . AspNetCore . Http ;
67using Microsoft . Extensions . Configuration ;
78using Microsoft . Extensions . Hosting ;
89using Microsoft . Extensions . Logging ;
10+ using Microsoft . AspNetCore . Http . Extensions ;
911using Serilog ;
1012
1113namespace WebApi
@@ -28,6 +30,7 @@ public static void Main(string[] args)
2830
2931 Log . Information ( "Application Starting." ) ;
3032 CreateHostBuilder ( args ) . Build ( ) . Run ( ) ;
33+ Log . Information ( "Application is Running." ) ;
3134 }
3235 catch ( Exception ex )
3336 {
Original file line number Diff line number Diff line change 99 "MinimumLevel" : {
1010 "Default" : " Information" ,
1111 "Override" : {
12- "Microsoft" : " Warning " ,
12+ "Microsoft" : " Information " ,
1313 "System" : " Warning"
1414 }
1515 },
You can’t perform that action at this time.
0 commit comments