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

agama-project / agama / 12393411001
68%

Build:
DEFAULT BRANCH: master
Ran 18 Dec 2024 01:07PM UTC
Jobs 2
Files 641
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 Dec 2024 12:56PM UTC coverage: 71.052% (-0.02%) from 71.067%
12393411001

push

github

web-flow
feat(rust): add support to configure logging through AGAMA_LOG (#1843)

Logs for the `agama-web-server` services include a lot of zbus-related
information, which is not useful for the Agama use case. To have better
control over what is included in the logs, this pull request adds
support for setting logs directives using an environment variable called
`AGAMA_LOG.`

This variable works in a similar way to [env_logger's
RUST_LOG](https://docs.rs/env_logger/latest/env_logger/#enabling-logging)
but with some additions that you can find in [Tokio's

EnvFilter](https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives)
documentation.

Setting `AGAMA_LOG` to `AGAMA_LOG=debug,zbus=info` allows filtering
those annoying messages.

Note: we could hard code `zbus=info` if needed.

0 of 6 new or added lines in 1 file covered. (0.0%)

17056 of 24005 relevant lines covered (71.05%)

35.87 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
0.0
0.0% rust/agama-server/src/logs.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
2 rust 12393411001.2 18 Dec 2024 01:07PM UTC 125
24.88
GitHub Action Run
2 service 12347793966.2 16 Dec 2024 07:22AM UTC 516
89.33
GitHub Action Run
Source Files on build 12393411001
  • Tree
  • List 641
  • Changed 31
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12393411001
  • 53a4357c on github
  • Prev Build on master (#12353022807)
  • Next Build on master (#12416892456)
  • Delete
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