Skip to content

Commit 98cd963

Browse files
committed
Drop setup of grpc logging
1 parent b81c078 commit 98cd963

File tree

4 files changed

+0
-94
lines changed

4 files changed

+0
-94
lines changed

cmd/nfd-master/main.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ func main() {
8686
klog.InfoS("version not set! Set -ldflags \"-X sigs.k8s.io/node-feature-discovery/pkg/version.version=`git describe --tags --dirty --always --match 'v*'`\" during build or run.")
8787
}
8888

89-
// Plug klog into grpc logging infrastructure
90-
utils.ConfigureGrpcKlog()
91-
9289
// Get new NfdMaster instance
9390
instance, err := master.NewNfdMaster(master.WithArgs(args))
9491
if err != nil {

cmd/nfd-topology-updater/main.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import (
2929

3030
topology "sigs.k8s.io/node-feature-discovery/pkg/nfd-topology-updater"
3131
"sigs.k8s.io/node-feature-discovery/pkg/resourcemonitor"
32-
"sigs.k8s.io/node-feature-discovery/pkg/utils"
3332
"sigs.k8s.io/node-feature-discovery/pkg/utils/hostpath"
3433
"sigs.k8s.io/node-feature-discovery/pkg/version"
3534
)
@@ -52,9 +51,6 @@ func main() {
5251
klog.InfoS("version not set! Set -ldflags \"-X sigs.k8s.io/node-feature-discovery/pkg/version.version=`git describe --tags --dirty --always --match 'v*'`\" during build or run.")
5352
}
5453

55-
// Plug klog into grpc logging infrastructure
56-
utils.ConfigureGrpcKlog()
57-
5854
// Get new TopologyUpdater instance
5955
instance, err := topology.NewTopologyUpdater(*args, *resourcemonitorArgs)
6056
if err != nil {

cmd/nfd-worker/main.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ func main() {
5959
klog.InfoS("version not set! Set -ldflags \"-X sigs.k8s.io/node-feature-discovery/pkg/version.version=`git describe --tags --dirty --always --match 'v*'`\" during build or run.")
6060
}
6161

62-
// Plug klog into grpc logging infrastructure
63-
utils.ConfigureGrpcKlog()
64-
6562
// Get new NfdWorker instance
6663
instance, err := worker.NewNfdWorker(worker.WithArgs(args))
6764
if err != nil {

pkg/utils/grpc_log.go

Lines changed: 0 additions & 84 deletions
This file was deleted.

0 commit comments

Comments
 (0)