Skip to content

Commit

Permalink
Remove health tracing from logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Fazzani committed Dec 29, 2024
1 parent 984f24e commit facb013
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,7 @@ docker run -itd --rm -e LOG_LEVEL=Debug -p 8880:8880 -v ${PWD}/config:/app/confi

- [ ] Add more providers (JustWatch, Reelgood, etc)
- [ ] Add more tests
- [ ] Improve logging
- [ ] Add Api versioning
- [ ] HealthCheck: change log level to debug
- [ ] Add security

See the [open issues](https://github.com/Fazzani/Proxarr/issues) for a full list of proposed features (and known issues).
Expand Down
1 change: 1 addition & 0 deletions src/Proxarr.Api/Proxarr.Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
</PackageReference>
<PackageReference Include="Scalar.AspNetCore" Version="1.2.72" />
<PackageReference Include="Serilog.AspNetCore" Version="9.0.0" />
<PackageReference Include="Serilog.Expressions" Version="5.0.0" />
<PackageReference Include="Serilog.Extensions.Logging.File" Version="3.0.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
<PackageReference Include="TMDbLib" Version="2.2.0" />
Expand Down
5 changes: 5 additions & 0 deletions src/Proxarr.Api/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ Serilog:
Using:
- Serilog.Sinks.Console
- Serilog.Sinks.File
- Serilog.Expressions
Filter:
- Name: ByExcluding
Args:
expression: "RequestPath like '/health%'"
MinimumLevel:
Default: "Information"
Override:
Expand Down

0 comments on commit facb013

Please sign in to comment.