Skip to content

fix: platform logs not rotated hourly#347

Merged
strophy merged 1 commit into
v0.23-devfrom
platform-logrotate-hourly
Sep 1, 2022
Merged

fix: platform logs not rotated hourly#347
strophy merged 1 commit into
v0.23-devfrom
platform-logrotate-hourly

Conversation

@strophy
Copy link
Copy Markdown
Collaborator

@strophy strophy commented Sep 1, 2022

Issue being fixed or feature implemented

Platform logs were not being rotated hourly because the version of logrotate shipping with ubuntu disables running from cron if systemd is installed.

What was done?

Specify hourly logrotate using systemd

How Has This Been Tested?

On devnet-filebeat

Breaking Changes

None

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

@strophy strophy added this to the v0.23.0 milestone Sep 1, 2022
@strophy strophy mentioned this pull request Sep 1, 2022
5 tasks
@strophy strophy merged commit 93636dd into v0.23-dev Sep 1, 2022
@strophy strophy deleted the platform-logrotate-hourly branch September 2, 2022 01:36
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