Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for registerScope (0.23 sec)

  1. cni/pkg/scopes/scopes.go

    package scopes
    
    import (
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/pkg/log"
    )
    
    // Required to get global logging to work
    var (
    	CNIAgent  = log.RegisterScope(constants.CNIAgentLogScope, "CNI agent scope")
    	CNIPlugin = log.RegisterScope(constants.CNIPluginLogScope, "CNI plugin scope")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 894 bytes
    - Viewed (0)
  2. pkg/log/default.go

    package log
    
    // These functions enable logging using a global Scope. See scope.go for usage information.
    
    func registerDefaultScopes() (defaults *Scope, grpc *Scope) {
    	return registerScope(DefaultScopeName, "Unscoped logging messages.", 1),
    		registerScope(GrpcScopeName, "logs from gRPC", 3)
    }
    
    var defaultScope, grpcScope = registerDefaultScopes()
    
    // Fatal outputs a message at fatal level.
    func Fatal(fields any) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. istioctl/pkg/root/root.go

    		"Default values for istioctl flags").Get()
    
    	LoggingOptions = defaultLogOptions()
    
    	// scope is for dev logging.  Warning: log levels are not set by --log_output_level until command is Run().
    	Scope = log.RegisterScope("cli", "istioctl")
    )
    
    func defaultLogOptions() *log.Options {
    	o := log.DefaultOptions()
    	// Default to warning for everything; we usually don't want logs in istioctl
    	o.SetDefaultOutputLevel("all", log.WarnLevel)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. operator/cmd/mesh/shared.go

    var installerScope = log.RegisterScope("installer", "installer")
    
    func init() {
    	// adding to remove message about the controller-runtime logs not getting displayed
    	// We cannot do this in the `log` package since it would place a runtime dependency on controller-runtime for all binaries.
    	scope := log.RegisterScope("controlleruntime", "scope for controller runtime")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. pkg/xds/monitoring.go

    // limitations under the License.
    
    package xds
    
    import (
    	"time"
    
    	istiolog "istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/model"
    	"istio.io/istio/pkg/monitoring"
    )
    
    var (
    	Log = istiolog.RegisterScope("ads", "ads debugging")
    	log = Log
    
    	errTag  = monitoring.CreateLabel("err")
    	nodeTag = monitoring.CreateLabel("node")
    	typeTag = monitoring.CreateLabel("type")
    
    	TotalXDSInternalErrors = monitoring.NewSum(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. pilot/pkg/autoregistration/internal/health/controller.go

    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/model/status"
    	"istio.io/istio/pkg/kube/controllers"
    	istiolog "istio.io/istio/pkg/log"
    )
    
    var log = istiolog.RegisterScope("wle", "wle controller debugging")
    
    type HealthEvent struct {
    	// whether or not the agent thought the target is healthy
    	Healthy bool `json:"healthy,omitempty"`
    	// error message propagated
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 19 20:41:55 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. tools/istio-iptables/pkg/log/nflog.go

    	false,
    	"When enable, all iptables actions will be logged. "+
    		"This requires NET_ADMIN privilege and has noisy logs; as a result, this is intended for debugging only").Get()
    
    var iptablesTrace = log.RegisterScope("iptables", "trace logs for iptables")
    
    // ReadNFLOGSocket reads from the nflog socket, sending output to logs.
    // This is intended for debugging only.
    func ReadNFLOGSocket(ctx context.Context) {
    	if !TraceLoggingEnabled {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. operator/pkg/helmreconciler/common.go

    )
    
    var (
    	// TestMode sets the controller into test mode. Used for unit tests to bypass things like waiting on resources.
    	TestMode = false
    
    	scope = log.RegisterScope("installer", "installer")
    )
    
    func init() {
    	// Tree representation and wait channels are an inversion of ComponentDependencies and are constructed from it.
    	buildInstallTree()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 17:12:54 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. pkg/test/echo/server/forwarder/util.go

    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/test/echo"
    	"istio.io/istio/pkg/test/echo/common"
    	"istio.io/istio/pkg/test/echo/proto"
    )
    
    const (
    	hostHeader = "Host"
    )
    
    var fwLog = log.RegisterScope("forwarder", "echo clientside")
    
    func writeForwardedHeaders(out *bytes.Buffer, requestID int, header http.Header) {
    	for key, values := range header {
    		for _, v := range values {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. pilot/pkg/networking/plugin/authn/authentication.go

    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/networking"
    	"istio.io/istio/pilot/pkg/security/authn"
    	"istio.io/istio/pkg/log"
    )
    
    var authnLog = log.RegisterScope("authn", "authn debugging")
    
    type Builder struct {
    	applier      authn.PolicyApplier
    	trustDomains []string
    	proxy        *model.Proxy
    }
    
    func NewBuilder(push *model.PushContext, proxy *model.Proxy) *Builder {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top