IntelLabs / IntelLabs/tdx-workload-attestation

Use logging rather than printlns

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
13
Forks
4
Avg merge
6d 4h
Merged PRs (30d)
3

Description

Rather than using print statements to communicate certain events, we should be using logging. For example:

```rust
debug!("Successfully opened TDX device: {:?}", tdx_dev);
```

_Originally posted by @sandlbn in https://github.com/IntelLabs/tdx-workload-attestation/pull/1#discussion_r2065352061_

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests; start by locating the print statements that communicate events and checking how logging is currently configured. Replace the relevant prints with logging such as the shown debug message, then verify that those events still appear through the project's logging output.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
security
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.