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)
Sat, Sep 14, 8:28 AM
Unknown Object (File)
Sat, Sep 14, 8:28 AM
Unknown Object (File)
Sat, Sep 14, 8:27 AM
Unknown Object (File)
Sat, Sep 14, 8:22 AM
Unknown Object (File)
Fri, Sep 13, 2:40 AM
Unknown Object (File)
Fri, Sep 6, 11:35 AM
Unknown Object (File)
Sep 2 2024, 10:15 AM
Unknown Object (File)
Sep 1 2024, 9:20 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