Skip to content

Conversation

@baude
Copy link
Member

@baude baude commented Apr 4, 2019

add the ability for podman to read and write events to journald instead
of just a logfile. This can be controlled in libpod.conf with the
events_logger attribute of journald or file. The default will be
set to journald.

Signed-off-by: baude [email protected]

@openshift-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L labels Apr 4, 2019
@baude baude force-pushed the eventsjournald branch 2 times, most recently from 1ea235e to 40047f9 Compare April 4, 2019 18:48
@openshift-ci-robot openshift-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/L labels Apr 4, 2019
@baude baude force-pushed the eventsjournald branch 11 times, most recently from 3efd98a to 3493894 Compare April 8, 2019 15:09
@baude
Copy link
Member Author

baude commented Apr 8, 2019

/test images

1 similar comment
@baude
Copy link
Member Author

baude commented Apr 8, 2019

/test images

libpod/events.go Outdated
Copy link
Member

Choose a reason for hiding this comment

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

Why run this every time? We can store it in the runtime (c.runtime.eventer)

Copy link
Member

Choose a reason for hiding this comment

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

We initialize once during NewRuntime, and after that we can use c.runtime.eventer.Write()

@baude
Copy link
Member Author

baude commented Apr 16, 2019

/test images

@baude baude force-pushed the eventsjournald branch 6 times, most recently from 17264e0 to d1ca2cf Compare April 18, 2019 13:31
@rh-atomic-bot
Copy link
Collaborator

☔ The latest upstream changes (presumably #2948) made this pull request unmergeable. Please resolve the merge conflicts.

@baude
Copy link
Member Author

baude commented Apr 24, 2019

ping folks to review or merge this

@rhatdan
Copy link
Member

rhatdan commented Apr 24, 2019

I will wait for @mheon OK.

@mheon
Copy link
Member

mheon commented Apr 24, 2019

I got one small thing, LGTM once that's fixed

add the ability for podman to read and write events to journald instead
of just a logfile.  This can be controlled in libpod.conf with the
`events_logger` attribute of `journald` or `file`.  The default will be
set to `journald`.

Signed-off-by: baude <[email protected]>
@baude
Copy link
Member Author

baude commented Apr 24, 2019

fixed

@rhatdan
Copy link
Member

rhatdan commented Apr 24, 2019

LGTM, Lets merge when it passes tests.

@mheon
Copy link
Member

mheon commented Apr 24, 2019

Agree

@TomSweeneyRedHat
Copy link
Member

LGTM assuming happy tests

@mheon
Copy link
Member

mheon commented Apr 25, 2019

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 25, 2019
@openshift-merge-robot openshift-merge-robot merged commit 01e7947 into containers:master Apr 25, 2019
@baude baude deleted the eventsjournald branch December 22, 2019 18:50
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 26, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants