Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for istiolog (0.11 sec)

  1. cni/pkg/log/uds_test.go

    	r, w, _ := os.Pipe()
    	os.Stdout = w
    	loggingOptions := istiolog.DefaultOptions()
    	loggingOptions.JSONEncoding = true
    	loggingOptions.WithTeeToUDS(udsSock, constants.UDSLogPath)
    	assert.NoError(t, istiolog.Configure(loggingOptions))
    	istiolog.FindScope("default").SetOutputLevel(istiolog.DebugLevel)
    	istiolog.Debug("debug log")
    	istiolog.Info("info log")
    	istiolog.Warn("warn log")
    	istiolog.Error("error log")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. cni/pkg/log/uds.go

    		// There is no fatal log from CNI plugin
    		switch m.Level {
    		case "debug":
    			logger.LogWithTime(istiolog.DebugLevel, m.Msg, m.Time)
    		case "info":
    			logger.LogWithTime(istiolog.InfoLevel, m.Msg, m.Time)
    		case "warn":
    			logger.LogWithTime(istiolog.WarnLevel, m.Msg, m.Time)
    		case "error":
    			logger.LogWithTime(istiolog.ErrorLevel, m.Msg, m.Time)
    		}
    	}
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/cni-watcher.go

    	"encoding/json"
    	"fmt"
    	"io"
    	"net"
    	"net/http"
    	"net/netip"
    	"time"
    
    	corev1 "k8s.io/api/core/v1"
    
    	pconstants "istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/cni/pkg/pluginlistener"
    	istiolog "istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/sleep"
    )
    
    // Just a composite of the CNI plugin add event struct + some extracted "args"
    type CNIPluginAddEvent struct {
    	Netns        string
    	PodName      string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. istioctl/pkg/admin/admin.go

    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	istiodLog := istiodLogCmd(ctx)
    	adminCmd.AddCommand(istiodLog)
    	adminCmd.PersistentFlags().StringVarP(&istiodLabelSelector, "selector", "l", "app=istiod", "label selector")
    
    	return adminCmd
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top