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: add ability to write logs in a file #632

Merged
merged 7 commits into from
May 23, 2023

Conversation

shotonoff
Copy link
Collaborator

@shotonoff shotonoff commented May 4, 2023

Issue being fixed or feature implemented

By default the logs are written into stderr only. But, we encountered with the case when elastic doesn't have a bunch of the logs, so additionally we need to write the logs into a file along with writing its into stderr output.

What was done?

Added ability to write the logs into the file along with stderr

How Has This Been Tested?

N/A

Breaking Changes

N/A

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

lklimek and others added 6 commits April 4, 2023 13:19
chore(release): update changelog and bump version to 0.11.0
* chore: catch up the changes from master into v0.11 dev (#629)

* chore(release): update changelog and version to 0.11.0

* fix: invalid threshold for `LLMQType_25_67` (#628)

---------

Co-authored-by: Lukasz Klimek <842586+lklimek@users.noreply.github.com>
Co-authored-by: Ivan Shumkov <ivan@shumkov.ru>

* chore(release): update changelog and version to 0.11.2

---------

Co-authored-by: Lukasz Klimek <842586+lklimek@users.noreply.github.com>
Co-authored-by: Ivan Shumkov <ivan@shumkov.ru>
@shotonoff shotonoff requested a review from shumkov May 4, 2023 13:49
lklimek
lklimek previously approved these changes May 5, 2023
Copy link
Collaborator

@lklimek lklimek left a comment

Choose a reason for hiding this comment

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

Please change this branch target to v0.12 (or v0.11).

cmd/tenderdash/main.go Show resolved Hide resolved
cmd/tenderdash/main.go Show resolved Hide resolved
@shotonoff shotonoff changed the base branch from master to v0.11-dev May 8, 2023 08:41
@shotonoff shotonoff dismissed lklimek’s stale review May 8, 2023 08:41

The base branch was changed.

@shotonoff shotonoff requested a review from lklimek May 8, 2023 08:41
@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label May 19, 2023
@shotonoff shotonoff enabled auto-merge (squash) May 23, 2023 08:10
@shotonoff shotonoff merged commit aa49a69 into v0.11-dev May 23, 2023
@shotonoff shotonoff deleted the feat/add-ability-to-use-file-for-logging branch May 23, 2023 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants