diff --git a/commonspace/space.go b/commonspace/space.go index 46e42aed..22b2d29a 100644 --- a/commonspace/space.go +++ b/commonspace/space.go @@ -137,7 +137,7 @@ func (s *space) LastUsage() time.Time { func (s *space) Locked() bool { locked := s.treesUsed.Load() > 1 - log.With(zap.Int32("trees used", s.treesUsed.Load()), zap.Bool("locked", locked)).Debug("space lock status check") + log.With(zap.Int32("trees used", s.treesUsed.Load()), zap.Bool("locked", locked), zap.String("spaceId", s.id)).Debug("space lock status check") return locked } @@ -197,6 +197,7 @@ func (s *space) Init(ctx context.Context) (err error) { Listener: listener, WaitTreeRemoteSync: false, }) + log.Debug("building settings tree", zap.String("id", id), zap.String("spaceId", s.id)) if err != nil { return }