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
Unknown Object (File)
Thu, Nov 7, 2:12 AM
Unknown Object (File)
Sun, Oct 27, 6:36 PM
Unknown Object (File)
Sun, Oct 27, 6:36 PM
Unknown Object (File)
Sun, Oct 27, 6:36 PM
Unknown Object (File)
Sun, Oct 27, 6:35 PM
Unknown Object (File)
Fri, Oct 25, 12:11 AM
Unknown Object (File)
Oct 11 2024, 2:16 PM
Unknown Object (File)
Oct 9 2024, 2:33 AM

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