diff options
author | bst-marge-bot <marge-bot@buildstream.build> | 2020-08-04 12:14:53 +0000 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2020-08-04 12:14:53 +0000 |
commit | 06f406473e67a92ce5b2c8505d6f73fddb1f2726 (patch) | |
tree | 604b1e94fec52032436ef9c7883c61cd63ea9b4c | |
parent | 713736231f7f80c7c1a723e44f248684e7cdb6b2 (diff) | |
parent | c7f9214c8e097f27fffa38b4b7c0b0042c9d9034 (diff) | |
download | buildstream-06f406473e67a92ce5b2c8505d6f73fddb1f2726.tar.gz |
Merge branch 'chandan/fix-utils-495' into 'master'
data/userconfig.yaml: Document valid symbols for format strings
Closes #510
See merge request BuildStream/buildstream!2013
-rw-r--r-- | src/buildstream/data/userconfig.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/buildstream/data/userconfig.yaml b/src/buildstream/data/userconfig.yaml index 5b568167b..d6f91ef66 100644 --- a/src/buildstream/data/userconfig.yaml +++ b/src/buildstream/data/userconfig.yaml @@ -125,11 +125,26 @@ logging: # Format string for printing the pipeline at startup, this # also determines the default display format for `bst show` + # + # See `bst show --help` for details on which symbols can be + # used in the format string. element-format: | %{state: >12} %{full-key} %{name} %{workspace-dirs} # Format string for all log messages. + # + # Following symbols can be used in the format string: + # + # elapsed - Time spent on this operation + # elapsed-us - Time spent on this operation (with microsecond precision) + # wallclock - Current wallclock time + # wallclock-us - Current wallclock time (with microsecond precision) + # key - The abbreviated cache key (if all sources are consistent) + # element - Name of the element + # action - Type of the message + # message - The main message text + # message-format: | [%{elapsed}][%{key}][%{element}] %{action} %{message} |