- appsettings.json/Development.json에 Serilog 섹션 추가 (Console/File Sink, Rolling Daily) - RequestIdMiddleware 구현 (X-Request-ID 헤더 발급/반환) - Program.cs에 Serilog 호스트 빌더 + UseSerilogRequestLogging 등록 - 환경별 로그 레벨 분리 (Development: Debug, Production: Warning) |
||
|---|---|---|
| .. | ||
| ExceptionMiddleware.cs | ||
| RequestIdMiddleware.cs | ||