Page MenuHomePhabricator

[services] Tunnelbroker - Add `env_logger` to the Rust library
ClosedPublic

Authored by max on Sep 19 2022, 3:01 PM.
Tags
None
Referenced Files
F3632032: D5182.id16928.diff
Fri, Jan 3, 5:21 AM
Unknown Object (File)
Mon, Dec 30, 3:06 PM
Unknown Object (File)
Sat, Dec 28, 5:37 AM
Unknown Object (File)
Fri, Dec 27, 8:40 AM
Unknown Object (File)
Fri, Dec 27, 8:40 AM
Unknown Object (File)
Sun, Dec 22, 10:00 AM
Unknown Object (File)
Sat, Dec 21, 12:01 PM
Unknown Object (File)
Tue, Dec 17, 2:53 PM

Details

Summary

This diff introduces adding and using of env_logger crate to configure the logging level via environment variables.

We already have the same approach in the backup service (D5124).

Test Plan

Start tunnelbroker with the different logging levels using environment variables.

Diff Detail

Repository
rCOMM Comm
Branch
add-env-logger
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

max held this revision as a draft.
max published this revision for review.Sep 19 2022, 3:30 PM
max retitled this revision from [services] Tunnelbroker - Add env_logger to the Rust library to [services] Tunnelbroker - Add `env_logger` to the Rust library.
max edited the summary of this revision. (Show Details)
max edited the test plan for this revision. (Show Details)
max added a reviewer: tomek. max added 1 blocking reviewer(s): jon.
This revision is now accepted and ready to land.Sep 20 2022, 7:26 AM
This revision now requires review to proceed.Sep 20 2022, 10:50 AM

Adding @ashoat as a blocking reviewer, because this diff touches dependencies.

This revision is now accepted and ready to land.Sep 20 2022, 11:57 AM