mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-18 11:37:08 +02:00
core/logging: less verbose logs (#5040)
This commit is contained in:
parent
ecbd84b7df
commit
4ac06d3bbd
18 changed files with 51 additions and 42 deletions
|
@ -14,16 +14,16 @@ func (c *controller) RunConnectLog(ctx context.Context) error {
|
|||
|
||||
return c.api.Watch(ctx,
|
||||
connect_mux.WithOnConnected(func(ctx context.Context) {
|
||||
logger.Info().Msg("connected")
|
||||
logger.Debug().Msg("connected")
|
||||
}),
|
||||
connect_mux.WithOnDisconnected(func(ctx context.Context) {
|
||||
logger.Info().Msg("disconnected")
|
||||
logger.Debug().Msg("disconnected")
|
||||
}),
|
||||
connect_mux.WithOnBootstrapConfigUpdated(func(ctx context.Context) {
|
||||
logger.Info().Msg("bootstrap config updated")
|
||||
logger.Debug().Msg("bootstrap config updated")
|
||||
}),
|
||||
connect_mux.WithOnBundleUpdated(func(ctx context.Context, key string) {
|
||||
logger.Info().Str("key", key).Msg("bundle updated")
|
||||
logger.Debug().Str("key", key).Msg("bundle updated")
|
||||
}),
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue