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

iotedge check: Only verify logging options for json-file driver #6793

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mtrensch
Copy link
Contributor

All logging drivers, except json-file (which is the default) do log rotation on their own.
See https://docs.docker.com/config/containers/logging/configure/

This fixes #6754

Azure IoT Edge PR checklist:

This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines and Best Practices

  • I have read the contribution guidelines.
  • Title of the pull request is clear and informative.
  • Description of the pull request includes a concise summary of the enhancement or bug fix.

Testing Guidelines

  • Pull request includes test coverage for the included changes.
  • Description of the pull request includes
    • concise summary of tests added/modified
    • local testing done.

Draft PRs

  • Open the PR in Draft mode if it is:
    • Work in progress or not intended to be merged.
    • Encountering multiple pipeline failures and working on fixes.

Note: We use the kodiakhq bot to merge PRs once the necessary checks and approvals are in place. When it merges a PR, kodiakhq converts the PR title to the commit title, PR description to the commit description, and squashes all the commits in the PR to a single commit. The net effect is that entire PR becomes a single commit. Please follow the best practices mentioned here for the PR title and description

@mtrensch mtrensch force-pushed the iotedge-check-logrotate branch 2 times, most recently from 993f724 to f0da82d Compare November 21, 2022 12:49
@mtrensch

This comment was marked as resolved.

…h is the default).

This fixes Azure#6754

NOTE: All other logging driver usually do logrotation on their own
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.

iotedge check "container-engine-logrotate" should not require rotate options when driver is "local"
2 participants