Protocol for talking to the log server: (nothing implemented in logd yet). Pure line-based text protocol. Tcp to some port on the log server: From log daemon (or anything, really) to server: service component state This tells the log daemon that service exists, and that it has a component named . syntax: fatal=forward,error=forward,warning=store,info=store,event=forward,debug=off,spam=off ie: level=[,...]* Where is one of: forward : store and send to log server noforward : do not send to logserver (only applicable to setdefaultstate) store : store locally only (to file) off : do not even generate the message in the program From server to whoever is interested: setdefaultstate setstate Exactly same syntax. Levels that are not mentioned are not modified. list services list components list states (list commands are replied to with service/component/state commands).