Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for registerScope (0.25 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. 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)
  7. 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)
  8. security/pkg/nodeagent/caclient/providers/citadel/client.go

    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/security"
    	"istio.io/istio/security/pkg/nodeagent/caclient"
    )
    
    const (
    	bearerTokenPrefix = "Bearer "
    )
    
    var citadelClientLog = log.RegisterScope("citadelclient", "citadel client debugging")
    
    type CitadelClient struct {
    	// It means enable tls connection to Citadel if this is not nil.
    	tlsOpts  *TLSOptions
    	client   pb.IstioCertificateServiceClient
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. security/pkg/credentialfetcher/plugin/gce.go

    import (
    	"context"
    	"fmt"
    	"os"
    	"strings"
    	"sync"
    	"time"
    
    	"cloud.google.com/go/compute/metadata"
    
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/security/pkg/util"
    )
    
    var gcecredLog = log.RegisterScope("gcecred", "GCE credential fetcher for istio agent")
    
    // Token refresh frequency is default to 5 minutes.
    var rotationInterval = 5 * time.Minute
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. security/pkg/nodeagent/test/mock/caserver.go

    	pb "istio.io/api/security/v1alpha1"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/security"
    	caerror "istio.io/istio/security/pkg/pki/error"
    	"istio.io/istio/security/pkg/pki/util"
    )
    
    var caServerLog = log.RegisterScope("ca", "CA service debugging")
    
    // CAServer is a mock CA server.
    type CAServer struct {
    	pb.UnimplementedIstioCertificateServiceServer
    	URL            string
    	GRPCServer     *grpc.Server
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top