File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -130,10 +130,6 @@ func Initialize() error {
130130 // be using the global log.Default, also uses the common slog logger.
131131 vcertLog := log .Default ()
132132 vcertLog .SetOutput (LogToSlogWriter {Slog : slog , Source : "vcert" })
133- // This is a work around for a bug in vcert where it adds a `vCert: ` prefix
134- // to the global log logger. It can be removed when this is fixed upstream
135- // in vcert: https://github.com/Venafi/vcert/pull/512
136- vcertLog .SetPrefix ("" )
137133
138134 // The venafi-connection-lib client uses various controller-runtime packages
139135 // which emit log messages. Make sure those log messages are not discarded.
Original file line number Diff line number Diff line change @@ -117,10 +117,10 @@ E0000 00:00:00.000000 00000 logs_test.go:000] "Exiting due to error" err="Erro
117117 flags : "" ,
118118 skipIntialize : true ,
119119 expectStderr : `
120- vCert: 0000/00/00 00:00:00 log Print
121- vCert: 0000/00/00 00:00:00 INFO slog Info
122- vCert: 0000/00/00 00:00:00 WARN slog Warn
123- vCert: 0000/00/00 00:00:00 ERROR slog Error
120+ 0000/00/00 00:00:00 log Print
121+ 0000/00/00 00:00:00 INFO slog Info
122+ 0000/00/00 00:00:00 WARN slog Warn
123+ 0000/00/00 00:00:00 ERROR slog Error
124124I0000 00:00:00.000000 00000 logs_test.go:000] klog Info
125125W0000 00:00:00.000000 00000 logs_test.go:000] klog Warning
126126E0000 00:00:00.000000 00000 logs_test.go:000] "klog Error" err="fake-error"
You can’t perform that action at this time.
0 commit comments