Common controller lib. Provides components shared by application controllers.
Requires: Go 1.13+ and Go Modules
Logging
Logging can be configured using environment variables:
- LOG_DEVELOPMENT: Development mode with human readable logs and (default) verbosity=4.
- LOG_LEVEL: Set the verbosity.
Verbosity:
- Info(3) used for
Info
logging. - Info(4) used for
Debug
logging. - Info(5) used for
Debug+
high rate events.
Package:
- filebacked:
- Info(5): file create,delete
- Info(6): file read,write.
- inventory:
- container:
- Info(3): reconciler lifecycle.
- Error(4): channel send failed.
- model:
- Info(3):
- database: lifecycle.
- journal: journal and watch lifecycle.
- model: insert,update,delete.
- Info(4):
- client: (db) transaction lifecycle;model get,list.
- journal: event staging.
- watch: lifecycle.
- Info(5):
- watch: event sent,received.
- table: SQL statements.
- Info(3):
- web:
- Info(3):
- watch: lifecycle.
- Info(4):
- watch: event sent,received.
- Info(3):
- ref:
- Info(3): reference mapping added,deleted.
- Info(4): reference lookup and reconcile events queued.
- container: