chef / 17.9.18 / habitat / sup_log_keys / index.html /

Supervisor Log Codes

[edit on GitHub]

When running services with the Chef Habitat Supervisor you’ll see log output similar to this:

redis.default(SR): Initializing
redis.default(SV): Starting
redis.default(O):

The letters in parentheses are called “log keys” and signify what type of log message is being shown. This can be useful for log filtering.

They are mostly organized by the part of the Chef Habitat Supervisor code base that they are running from, so they often are of value to somebody troubleshooting problems in the Chef Habitat Supervisor source code.

The meanings of the keys are as follows:

Key Description
CE Census
CFG Global configuration
CS Create service: When a service is being started
ER Errors
FW Generic file watcher
HG Messages from the HTTP gateway
MN Main
MR Manager
O Standard output
PH Package hooks
PK Package
PT Path
PW Peer file watcher
SC Service configuration
SH Starting a shell with hab sup sh
SI Unix signals
SOT Structured output
SR Service runtime
SU Service updater
SV Supervisor
SY “sys” utility
UCW User-config watcher
UR Users utility
UT Utilities

© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/habitat/sup_log_keys/