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

Use private logrus instance to separate messages from hosting application #34

@martinkunc

Description

@martinkunc

STR:

  • Have an application using appoptics-api-go client
  • Set the logrus.SetLevel(logrus.DebugLevel)
  • My application starts logging at Debug, but also AppOptics Api shows internal log messages, like
DEBU[2381] Uploading AppOptics measurements batchtime2018-03-19 11:24:15 +0100 CETnumMeasurements10globalTagsmap[hostname:brn-dev-mkun] 

Wouldn't it be better to use private logger instance to separate appoptics logging completelly ? Like:

var log = logrus.New()

What do you think ?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions