Skip to content

Commit

Permalink
remove redundant log settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Saks committed Feb 28, 2025
1 parent 15a98ab commit a4e17ce
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions metricbeat/module/pgbouncer/lists/lists.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,13 @@ package lists
import (
"context"
"fmt"
"log"
"os"

"github.com/elastic/beats/v7/metricbeat/mb"
"github.com/elastic/beats/v7/metricbeat/module/pgbouncer"
)

// init registers the MetricSet with the central registry.
func init() {
log.SetOutput(os.Stderr)
log.SetFlags(0)
mb.Registry.MustAddMetricSet("pgbouncer", "lists", New,
mb.WithHostParser(pgbouncer.ParseURL),
mb.DefaultMetricSet(),
Expand Down
4 changes: 0 additions & 4 deletions metricbeat/module/pgbouncer/mem/mem.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ package mem
import (
"context"
"fmt"
"log"
"os"

"github.com/elastic/beats/v7/metricbeat/mb"
"github.com/elastic/beats/v7/metricbeat/module/pgbouncer"
Expand All @@ -30,8 +28,6 @@ import (

// init registers the MetricSet with the central registry.
func init() {
log.SetOutput(os.Stderr)
log.SetFlags(0)
mb.Registry.MustAddMetricSet("pgbouncer", "mem", New,
mb.WithHostParser(pgbouncer.ParseURL),
mb.DefaultMetricSet(),
Expand Down

0 comments on commit a4e17ce

Please sign in to comment.