Supervisor log codes
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 indicate what type of log message is being shown. This can be useful for log filtering.
They’re mostly organized by the part of the Chef Habitat Supervisor codebase they come from, so they’re often useful for someone troubleshooting issues 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 |