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

WIP: Allow multiple log drivers to be specified #770

Closed
wants to merge 1 commit into from

Conversation

saschagrunert
Copy link
Member

What type of PR is this?

/kind api-change

What this PR does / why we need it:

This extends the API to allow multiple log drivers in parallel. We can later on support other drivers like files to log into multiple destinations.

Which issue(s) this PR fixes:

Part of #740

Special notes for your reviewer:

None

Does this PR introduce a user-facing change?

Changed `--log-driver` to `--log-drivers` to support multiple server logging drivers simultaneously.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 4, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: saschagrunert

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Oct 4, 2022
@saschagrunert saschagrunert force-pushed the multi-drivers branch 2 times, most recently from 3577381 to 34ead10 Compare October 4, 2022 10:34
This extends the API to allow multiple log drivers in parallel. We can
later on support other drivers like files to log into multiple
destinations.

Signed-off-by: Sascha Grunert <[email protected]>
/// The logging driver used by the conmon server.
log_driver: LogDriver,
/// The logging drivers used by the server. Can be specified multiple times.
log_drivers: Vec<LogDriver>,
Copy link
Collaborator

Choose a reason for hiding this comment

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

unfortunately, I think we need to keep both. We can drop log_driver when conmon-rs moves to 1.0

@saschagrunert saschagrunert changed the title Allow multiple log drivers to be specified WIP: Allow multiple log drivers to be specified Oct 4, 2022
@saschagrunert saschagrunert deleted the multi-drivers branch October 4, 2022 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants