HomePhabricator
Diffusion Comm 5e2bd01d038e

[services][feature-flags] Set up the logger

Description

[services][feature-flags] Set up the logger

Summary:
Use tracing as a logging library - the same as is used in other services.
Added a couple of dependencies with the same versions as used in backup service.

Depends on D6663

Test Plan:
Run the service and check if log message is displayed.
Introduce two new logs with debug and warn severity and check if only warn is being displayed.
Set RUST_LOG env variable to debug and later to warn and check if the logging filtering behaves correctly.

Reviewers: michal, bartek, jon, varun

Reviewed By: bartek, varun

Subscribers: ashoat, atul

Differential Revision: https://phab.comm.dev/D6664

Details

Provenance
tomekAuthored on Feb 8 2023, 4:11 AM
Reviewer
bartek
Differential Revision
D6664: [services][feature-flags] Set up the logger
Parents
rCOMM5fd8f979ba02: [services][feature-flags] Set up a new Rust project
Branches
Unknown
Tags
Unknown