From a49eac860c1f449f408d7171981121b45dfd1ca5 Mon Sep 17 00:00:00 2001 From: Michael Quigley Date: Wed, 17 Mar 2021 12:36:16 -0400 Subject: [PATCH] CHANGELOG. --- CHANGELOG.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 754d48d4a..c0ec7a5b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ * Idle route garbage collection: orphaned routing table entries will be garbage collected. New infrastructure for session confirmation facilitating additional types of garbage collection * Configurable Xgress dial "dwell time" +* Database tracing support ### Idle Route Garbage Collection @@ -37,6 +38,24 @@ forwarder: xgressDialDwellTime: 0 ``` +### Database Tracing + +Enable database tracing using the `dbTrace` controller configuration directive: + +``` +dbTrace: true +``` + +This will result in log output that describes the entrance into and exit from transactional functions operating against the underlying database: + +``` +[ 0.003] INFO fabric/controller/db.traceUpdateEnter: Enter Update (tx:18) [github.com/openziti/fabric/controller/db.createRoots] +[ 0.003] INFO fabric/controller/db.traceUpdateExit: Exit Update (tx:18) [github.com/openziti/fabric/controller/db.createRoots] +[ 0.006] INFO fabric/controller/db.traceUpdateEnter: Enter Update (tx:19) [github.com/openziti/foundation/storage/boltz.(*migrationManager).Migrate.func1] +[ 0.006] INFO foundation/storage/boltz.(*migrationManager).Migrate.func1: fabric datastore is up to date at version 4 +[ 0.006] INFO fabric/controller/db.traceUpdateExit: Exit Update (tx:19) [github.com/openziti/foundation/storage/boltz.(*migrationManager).Migrate.func1] +``` + # Release 0.19.6 ## What's New