• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

divviup / divviup-api / 9573008562
69%

Build:
DEFAULT BRANCH: main
Ran 18 Jun 2024 10:26PM UTC
Jobs 1
Files 122
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Jun 2024 10:22PM UTC coverage: 56.374% (+0.07%) from 56.305%
9573008562

push

github

web-flow
Move sqlx query logging to debug level (#1128)

By default, `sea_orm::ConnectOptions` will log queries at info ([1]). As
a result, `divviup-api` logs are filled with unhelpful lines like:

```json
{
    "timestamp": "2024-06-18T21:31:41.294043Z",
    "level": "INFO",
    "fields": {
        "summary": "select 1",
        "db.statement": "",
        "rows_affected": 1,
        "rows_returned": 1,
        "elapsed": "171.873\u00b5s"
    },
    "target": "sqlx::query",
    "filename": "/usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.3/src/logger.rs",
    "line_number": 135,
    "threadId": "ThreadId(4)"
}
```

...which is just the healthcheck succeeding. This commit moves that
logging to debug level, so that we can still opt into it but generate
less noise in normal operation.

[1]: https://docs.rs/sea-orm/0.12.15/sea_orm/struct.ConnectOptions.html#method.sqlx_logging_level

3 of 3 new or added lines in 1 file covered. (100.0%)

4 existing lines in 3 files now uncovered.

3940 of 6989 relevant lines covered (56.37%)

106.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9573008562.1 18 Jun 2024 10:26PM UTC 0
56.37
GitHub Action Run
Source Files on build 9573008562
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #9573008562
  • 291829df on github
  • Prev Build on main (#9571156280)
  • Next Build on main (#9604481544)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc