You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2023/06/16 19:46:26 UTC

[plc4x] branch develop updated: chore(plc4go): deprecate trace flags

This is an automated email from the ASF dual-hosted git repository.

sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new f3a430a2f6 chore(plc4go): deprecate trace flags
f3a430a2f6 is described below

commit f3a430a2f6dd7d8c8ffeb07624a6d1cd5b0ea773
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Fri Jun 16 21:46:18 2023 +0200

    chore(plc4go): deprecate trace flags
---
 plc4go/pkg/api/config/config.go | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/plc4go/pkg/api/config/config.go b/plc4go/pkg/api/config/config.go
index 63e01fe3bc..695b16c9d3 100644
--- a/plc4go/pkg/api/config/config.go
+++ b/plc4go/pkg/api/config/config.go
@@ -26,9 +26,12 @@ import (
 
 // TraceTransactionManagerWorkers when set to true the transaction manager displays worker states in log
 var (
-	TraceTransactionManagerWorkers      bool
+	// Deprecated: this should be done with an option, don't use it
+	TraceTransactionManagerWorkers bool
+	// Deprecated: this should be done with an option, don't use it
 	TraceTransactionManagerTransactions bool
-	TraceDefaultMessageCodecWorker      bool
+	// Deprecated: this should be done with an option, don't use it
+	TraceDefaultMessageCodecWorker bool
 )
 
 // TraceConnectionCache when set to true the connection cache outputs logs by default