Skip to content

Commit

Permalink
Revert logging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean-Coakley committed Sep 7, 2022
1 parent c396883 commit a89971a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/extensions/advanced-metrics/reader/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (r *Reader) runWorker(ctx context.Context, connection net.Conn, id int) {
}

func (r *Reader) checkSocketAndCleanup() error {
log.Debugf("Checking availability of unix socket: %s", r.address)
log.Info("Checking availability of unix socket")

if _, err := os.Stat(r.address); err == nil {
err = os.Remove(r.address)
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/advanced_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func (m *AdvancedMetrics) run() {
defer m.ctxCancel()
err := enableWritePermissionForSocket(m.cfg.Address)
if err != nil {
log.Errorf("App centric metric plugin failed to change socket permissions: %v", err)
log.Error("App centric metric plugin failed to change socket permissions")
}
commonDimensions := append(m.commonDims.ToDimensions(), &proto.Dimension{
Name: aggregationDurationDimension,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a89971a

Please sign in to comment.