Skip to content
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.

Latest commit

 

History

History
48 lines (41 loc) · 1.19 KB

README.md

File metadata and controls

48 lines (41 loc) · 1.19 KB

controller

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.
    • web:
      • Info(3):
        • watch: lifecycle.
      • Info(4):
        • watch: event sent,received.
    • ref:
      • Info(3): reference mapping added,deleted.
      • Info(4): reference lookup and reconcile events queued.