This repository was archived by the owner on May 6, 2020. It is now read-only.
Commit 54f87f5
James O. D. Hunt
logging: Add CLI command to logs
Since the runtime is called multiple times by the container manager, add
the command-line sub-command name to all log entries to make it clear
which command was running when a particular log message was produced.
Note that CLI arguments are already logged once at runtime startup. This
change is more useful for the scenarios where only a log excerpt is
available (for example when running `cc-collect-data.sh` which only
extracts error logs).
Fixes #1024.
Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>1 parent 81d8b6f commit 54f87f5
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
205 | 212 | | |
206 | 213 | | |
207 | 214 | | |
| |||
0 commit comments