mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-13 12:34:14 +01:00
add http logging to files
This commit is contained in:
parent
f5055318db
commit
acd7ec4755
1 changed files with 1 additions and 0 deletions
|
|
@ -221,6 +221,7 @@ public class Startup
|
||||||
services.AddSingleton<IUserIdProvider, IdBasedUserIdProvider>();
|
services.AddSingleton<IUserIdProvider, IdBasedUserIdProvider>();
|
||||||
|
|
||||||
services.AddHealthChecks();
|
services.AddHealthChecks();
|
||||||
|
services.AddHttpLogging(e => e = new Microsoft.AspNetCore.HttpLogging.HttpLoggingOptions());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
|
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue