Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: log mediator_id #100

Closed
wants to merge 1 commit into from
Closed

feat: log mediator_id #100

wants to merge 1 commit into from

Conversation

eiunkar
Copy link
Contributor

@eiunkar eiunkar commented Mar 10, 2025

I have added mediator_id into log lines for better observability. mediator_id is sourced from environment variable MEDIATOR_ID if exists. If not it is set to NA

Ok(val) => val,
Err(_e) => "NA".to_string(),
};

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WDYT if we move it config? This would enable setting it both ways, i.e. config and env

@stormer78
Copy link
Contributor

Rejecting this PR, instead merged the change into the 0.10.0 branch.

@stormer78 stormer78 closed this Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants