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

Avoid huge logs #3397

Merged
merged 5 commits into from
Jun 30, 2021
Merged

Avoid huge logs #3397

merged 5 commits into from
Jun 30, 2021

Conversation

frankeros
Copy link
Contributor

@frankeros frankeros commented Jun 24, 2021

Hi team, this resolves:

  • Avoid huge logs when messages or objects are too long.

Testing:
Turn down the Wazuh API when the cron job for statistics is waiting for the response at server/start/cron-scheduler/scheduler-job,ts#run()

Closes #3388

Copy link
Contributor

@gabiwassan gabiwassan left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@pablomarga pablomarga left a comment

Choose a reason for hiding this comment

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

LGTM!

server/lib/logger.ts Outdated Show resolved Hide resolved
Copy link
Member

@Desvelao Desvelao left a comment

Choose a reason for hiding this comment

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

review: Review the suggested request changes

@frankeros frankeros merged commit 052a47f into 4.2-7.10 Jun 30, 2021
@frankeros frankeros deleted the bugfix/3388-avoid-huge-logs branch June 30, 2021 20:42
frankeros added a commit that referenced this pull request Jun 30, 2021
frankeros added a commit that referenced this pull request Jul 2, 2021
* cherry-pick: #3397

* fix: wrong property in parsedData
@MauGaP MauGaP mentioned this pull request Sep 1, 2021
46 tasks
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.

4 participants