Skip to main content

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:

KeyDescription
CECensus
CFGGlobal configuration
CSCreate service: When a service is being started
ERErrors
FWGeneric file watcher
HGMessages from the HTTP gateway
MNMain
MRManager
OStandard output
PHPackage hooks
PKPackage
PTPath
PWPeer file watcher
SCService configuration
SHStarting a shell with hab sup sh
SIUnix signals
SOTStructured output
SRService runtime
SUService updater
SVSupervisor
SYsys utility
UCWUser-config watcher
URUsers utility
UTUtilities

Thank you for your feedback!

×