Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit 19065b8

Browse files
committed
[FAB-8656] Initial logging modules
This change updates the patches to include the logging module. Change-Id: I1b3fabf01e8097dc97685b700abc3c22b4fe41e7 Signed-off-by: Troy Ronda <troy@troyronda.com>
1 parent 3c009b4 commit 19065b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/third_party_pins/fabric-ca/patches/0001-logbridge.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ index 0000000..eca57b3
3838
+var cfLogBridge *cLogger
3939
+
4040
+func init() {
41-
+ logger = logging.NewLogger("fabric_sdk_go")
41+
+ logger = logging.NewLogger("fabsdk/fab")
4242
+ cfLogBridge = &cLogger{}
4343
+ clog.SetLogger(cfLogBridge)
4444
+}

scripts/third_party_pins/fabric/patches/0001-logbridge.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ index 00000000..fdeb3a4f
4848
+
4949
+// MustGetLogger bridges calls the Go SDK NewLogger
5050
+func MustGetLogger(module string) *Logger {
51-
+ fabModule := "fabric_sdk_go"
51+
+ fabModule := "fabsdk/fab"
5252
+ logger := logging.NewLogger(fabModule)
5353
+ return &Logger{
5454
+ Logger: logger,

0 commit comments

Comments
 (0)