Skip to content

Include events and log file rotation, fix timming errors and audit tests#129

Merged
okynos merged 11 commits intomainfrom
121-rotate-files
Oct 18, 2023
Merged

Include events and log file rotation, fix timming errors and audit tests#129
okynos merged 11 commits intomainfrom
121-rotate-files

Conversation

@okynos
Copy link
Member

@okynos okynos commented Oct 17, 2023

Hello!

We are glad to include this PR.
It closes #121 and fixes other minor errors.
Tasks:

  • Included rotator module to check events or log file to rotate.
  • Added config parameters max_file_size inside events and log sections.
  • Bump reqwest to 0.11.22.
  • Included zip crate in Windows and flate2 and tar crate in Linux for file compression.
  • Improved hash module to manage file fast removal.
  • Improved launcher module test code.
  • Added more debug messages to logreader module.
  • Fixed monitor error on some specific cases that skip one event.
  • Refactor of audit system tests. Now the tests will search the desired event if not found it will assert.

Regards!

@okynos okynos self-assigned this Oct 17, 2023
@okynos okynos merged commit 3721a1e into main Oct 18, 2023
@okynos okynos deleted the 121-rotate-files branch October 18, 2023 10:11
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.

Include fim.log and events.json rotation policy

1 participant