Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

fix: ignore probe log #169

Merged
merged 1 commit into from
Sep 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agent/pkg/server/server_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type Server struct {

func New(c config.Config) (Server, error) {
router := gin.New()
router.Use(ginlogrus.Logger(logrus.StandardLogger()))
router.Use(ginlogrus.Logger(logrus.StandardLogger(), "/healthz"))
router.Use(gin.Recovery())

// metrics server
Expand Down
2 changes: 1 addition & 1 deletion mdz/pkg/agentd/server/server_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type Server struct {

func New() (*Server, error) {
router := gin.New()
router.Use(ginlogrus.Logger(logrus.StandardLogger()))
router.Use(ginlogrus.Logger(logrus.StandardLogger(), "/healthz"))
router.Use(gin.Recovery())

// metrics server
Expand Down
Loading