-
Notifications
You must be signed in to change notification settings - Fork 206
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
Add default for log-tag #605
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhatdan 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 |
@containers/podman-maintainers PTAL |
pkg/config/config.go
Outdated
@@ -137,6 +137,10 @@ type ContainersConfig struct { | |||
// Negative values indicate that the log file won't be truncated. | |||
LogSizeMax int64 `toml:"log_size_max,omitempty"` | |||
|
|||
// Specifies default format tag for container log messages. Helpful for specific | |||
// container log, messages. Containers logs default to truncated container ID. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you change the above, change here too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something must have gone wrong while copy-pasting. The sentence above starts in the middle.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird, Fixed.
@containers/podman-maintainers PTAL |
docs/containers.conf.5.md
Outdated
**log_tag**="" | ||
|
||
Default format tag for container log messages. This is useful for creating a specific tag for container log messages. Container log messages default to using the truncated container ID as a tag. | ||
container log, messages. Containers logs default to truncated container ID. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
container log, messages. Containers logs default to truncated container ID. |
ce0f069
to
2ca5af7
Compare
Needed for containers/podman#10204 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Needed for containers/podman#10204
Signed-off-by: Daniel J Walsh dwalsh@redhat.com