Skip to content

Commit

Permalink
fix: Fix log level and formatting of some logs (#1705)
Browse files Browse the repository at this point in the history
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
  • Loading branch information
ondrej-fabry committed Aug 25, 2020
1 parent 917f9d5 commit 72644e2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion plugins/govppmux/plugin_impl_govppmux.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ func (p *Plugin) handleVPPConnectionEvents(ctx context.Context) {
}

func (p *Plugin) startProxy(vppapi adapter.VppAPI, statsapi adapter.StatsAPI) (err error) {
p.Log.Infof("starting VPP proxy")
p.Log.Debugf("starting VPP proxy")

p.proxy, err = proxy.NewServer()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion plugins/linux/nsplugin/ns_plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (p *NsPlugin) Init() error {
}
p.msDescriptor.StartTracker()

p.Log.Infof("Namespace plugin initialized")
p.Log.Debugf("Namespace plugin initialized")

return nil
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/vpp/ifplugin/vppcalls/vpp1904/watch_vppcalls.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (h *InterfaceVppHandler) WatchDHCPLeases(ctx context.Context, leasesCh chan

go func() {
h.log.Debugf("start watching DHCP leases")
defer h.log.Debugf("done watching DHCP lease", ctx.Err())
defer h.log.Debugf("done watching DHCP lease (%v)", ctx.Err())

for {
select {
Expand Down
2 changes: 1 addition & 1 deletion plugins/vpp/ifplugin/vppcalls/vpp1908/watch_vppcalls.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (h *InterfaceVppHandler) WatchDHCPLeases(ctx context.Context, leasesCh chan

go func() {
h.log.Debugf("start watching DHCP leases")
defer h.log.Debugf("done watching DHCP lease", ctx.Err())
defer h.log.Debugf("done watching DHCP lease (%v)", ctx.Err())

for {
select {
Expand Down
2 changes: 1 addition & 1 deletion plugins/vpp/ifplugin/vppcalls/vpp2001/watch_vppcalls.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (h *InterfaceVppHandler) WatchDHCPLeases(ctx context.Context, leasesCh chan

go func() {
h.log.Debugf("start watching DHCP leases")
defer h.log.Debugf("done watching DHCP lease", ctx.Err())
defer h.log.Debugf("done watching DHCP lease (%v)", ctx.Err())

for {
select {
Expand Down
2 changes: 1 addition & 1 deletion plugins/vpp/ifplugin/vppcalls/vpp2005/watch_vppcalls.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (h *InterfaceVppHandler) WatchDHCPLeases(ctx context.Context, leasesCh chan

go func() {
h.log.Debugf("start watching DHCP leases")
defer h.log.Debugf("done watching DHCP lease", ctx.Err())
defer h.log.Debugf("done watching DHCP lease (%v)", ctx.Err())

for {
select {
Expand Down

0 comments on commit 72644e2

Please sign in to comment.