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

historyarchive: Make the library target the same log as Horizon #5178

Merged
merged 4 commits into from
Jan 23, 2024

Conversation

Shaptic
Copy link
Contributor

@Shaptic Shaptic commented Jan 23, 2024

What

When using a cache for history archives, use the same log target to match Horizon.

Why

Logs from this package do not appear in Horizon's logs.

Known limitations

This means library users need to use the same logging setup as Horizon, but this is an attempt at a temporary fix, so this is an acceptable quirk for now.

Copy link
Contributor

@sreuland sreuland left a comment

Choose a reason for hiding this comment

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

great find!

@Shaptic Shaptic merged commit 0ddb36f into stellar:release-horizon-v2.28.0 Jan 23, 2024
28 checks passed
sreuland pushed a commit to sreuland/go that referenced this pull request Jan 29, 2024
…lar#5178)

* Change logging provider to Horizon's default rather than logrus
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.

2 participants