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
F3510487: D5182.id16928.diff
Sat, Dec 21, 12:01 PM
Unknown Object (File)
Tue, Dec 17, 2:53 PM
Unknown Object (File)
Tue, Dec 17, 2:53 PM
Unknown Object (File)
Tue, Dec 17, 2:53 PM
Unknown Object (File)
Tue, Dec 17, 2:50 PM
Unknown Object (File)
Mon, Dec 16, 3:57 AM
Unknown Object (File)
Nov 7 2024, 2:12 AM
Unknown Object (File)
Oct 27 2024, 6:36 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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