From c467e267ed13d898dc91e95193ba03b63197f402 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Fri, 2 Jun 2023 17:32:40 -0600 Subject: [PATCH] Removed trace log statements for locking. Need to add configurable log levels and categories to make debugging/developing better. --- resource.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/resource.go b/resource.go index 488fbd5..1e1204f 100644 --- a/resource.go +++ b/resource.go @@ -69,7 +69,6 @@ func AddParent(resource Resource, parent Resource) error { } func UnlockResource(resource Resource, event Event) error { - log.Printf("RESOURCE_UNLOCK: %s", resource.Name()) var err error = nil resource.LockState() if resource.Owner() == nil { @@ -115,7 +114,6 @@ func UnlockResource(resource Resource, event Event) error { } func LockResource(resource Resource, event Event) error { - log.Printf("RESOURCE_LOCK: %s", resource.Name()) resource.LockState() if resource.Owner() != nil { resource.UnlockState()