rust-cli / rust-cli/env_logger

Process IDs

Open
#201 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Rust
Stars
1.1k
Forks
149
Avg merge
2h 42m
Merged PRs (30d)
4

Description

hey!

I have multiple processes that write to the same terminal, and since there's no difference in the::module::path it's not possible to tell them apart.

Is there a simple way to include the process id in the log output?

Thanks!

PS: Could you consider enabling discussions on this repo?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how env_logger formats log output and where process metadata could be exposed. Confirm whether the existing output configuration can represent a process ID; done means users can distinguish concurrent processes in the same terminal without relying on module paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
observability-sre
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.