logging: Ensure journald identifier is simply "cc-proxy"#181
Conversation
Previously, the identifier used for each proxy log message specified the full path to the proxy binary. This meant that to select proxy log messages it was necessary to specify: ``` $ sudo journalctl -t /usr/libexec/clear-containers/cc-proxy ``` Now, the user can perform the same action with a simple: ``` $ sudo journalctl -t cc-proxy ``` Fixes clearcontainers#180. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
|
kubernetes qa-passed 👍 |
|
just a thought - are there any scripts or tools that do log scraping and collating we need to update to match this ? |
|
Good question. The still-unfinished clearcontainers/tests#590 circumvents the issue by requiring the user to pass the required journal extracts. @sboeuf, @chavafg - can you check for anything else that might be impacted by this? |
|
@jodh-intel, @grahamwhaley we use |
|
@chavafg - actually, "yes and no" - that now needs to be |
|
ohh, that's true, forgot about that change, then I'll open a PR to update it. |
|
Thanks! |
Previously, the identifier used for each proxy log message specified
the full path to the proxy binary. This meant that to select proxy log
messages it was necessary to specify:
Now, the user can perform the same action with a simple:
Fixes #180.
Signed-off-by: James O. D. Hunt james.o.hunt@intel.com