Page MenuHomePhabricator

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

Authored by tomek on Feb 8 2023, 4:13 AM.
Tags
None
Referenced Files
F3394420: D6664.id22403.diff
Sat, Nov 30, 7:43 PM
F3394172: D6664.diff
Sat, Nov 30, 6:04 PM
Unknown Object (File)
Sat, Nov 23, 1:58 AM
Unknown Object (File)
Fri, Nov 15, 6:53 PM
Unknown Object (File)
Fri, Nov 15, 6:53 PM
Unknown Object (File)
Oct 26 2024, 10:17 PM
Unknown Object (File)
Oct 26 2024, 10:17 PM
Unknown Object (File)
Oct 26 2024, 10:17 PM
Subscribers

Details

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.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable