Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for Verbosity (0.15 sec)

  1. pkg/log/klog.go

    }
    
    // isKlogVerbose returns true if klog verbosity is non-zero.
    func klogVerbose() bool {
    	gf := klogVerboseFlag()
    	return gf.Value.String() != "0"
    }
    
    var (
    	klogFlagSet     = &goflag.FlagSet{}
    	klogFlagSetOnce = sync.Once{}
    )
    
    // KlogVerboseFlag returns verbose flag from the klog library.
    // After parsing it contains the parsed verbosity value.
    func klogVerboseFlag() *goflag.Flag {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/AntBuilderLoggingIntegrationTest.groovy

            outputDoesNotContain("DEBUG message")
            outputDoesNotContain("VERBOSE message")
        }
    
        @ToBeFixedForConfigurationCache(skip = INVESTIGATE)
        def "can increase verbosity of Ant logging" () {
            buildFile << """
                ant.lifecycleLogLevel = "INFO"
            """
    
            when:
            succeeds("antTest")
    
            then:
            outputContains("[ant:echo] INFO message")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. pkg/log/logr.go

    // logging is based on Verbosity levels, where 0 is the most important. We treat
    // levels 0-3 as info level and 4+ as debug; there are no warnings. This
    // threshold is fairly arbitrary based on inspection of Kubernetes usage and
    // https://kubernetes.io/docs/reference/kubectl/cheatsheet/#kubectl-output-verbosity-and-debugging.
    // Errors are passed through as errors.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. src/log/slog/level.go

    // the default value for int, zero.
    //
    // Second, we wanted to make it easy to use levels to specify logger verbosity.
    // Since a larger level means a more severe event, a logger that accepts events
    // with smaller (or more negative) level means a more verbose logger. Logger
    // verbosity is thus the negation of event severity, and the default verbosity
    // of 0 accepts all events at least as severe as INFO.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:34:43 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/error.go

    func checkErr(err error, handleErr func(string, int)) {
    	if err == nil {
    		return
    	}
    
    	msg := fmt.Sprintf("%s\nTo see the stack trace of this error execute with --v=5 or higher", err.Error())
    	// check if the verbosity level in klog is high enough and print a stack trace.
    	f := flag.CommandLine.Lookup("v")
    	if f != nil {
    		// assume that the "v" flag contains a parseable Int32 as per klog's "Level" type alias,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:35:10 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. cmd/kube-proxy/app/server_test.go

      format: json
      flushFrequency: 1s
      verbosity: 10
      vmodule:
      - filePattern: foo.go
        verbosity: 6
      - filePattern: bar.go
        verbosity: 8
    `
    	expectedLoggingConfig := logsapi.LoggingConfiguration{
    		Format:         "json",
    		FlushFrequency: logsapi.TimeOrMetaDuration{Duration: metav1.Duration{Duration: time.Second}, SerializeAsString: true},
    		Verbosity:      10,
    		VModule: []logsapi.VModuleItem{
    			{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  7. pkg/proxy/apis/config/scheme/testdata/KubeProxyConfiguration/roundtrip/default/v1alpha1.yaml

      tcpTimeout: 0s
      udpTimeout: 0s
    kind: KubeProxyConfiguration
    logging:
      flushFrequency: 5s
      format: text
      options:
        json:
          infoBufferSize: "0"
        text:
          infoBufferSize: "0"
      verbosity: 0
    metricsBindAddress: 127.0.0.1:10249
    mode: ""
    nftables:
      masqueradeAll: false
      masqueradeBit: 14
      minSyncPeriod: 1s
      syncPeriod: 30s
    nodePortAddresses: null
    oomScoreAdj: -999
    portRange: ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 12:50:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. pkg/proxy/apis/config/scheme/testdata/KubeProxyConfiguration/after/v1alpha1.yaml

      tcpTimeout: 0s
      udpTimeout: 0s
    kind: KubeProxyConfiguration
    logging:
      flushFrequency: 5s
      format: text
      options:
        json:
          infoBufferSize: "0"
        text:
          infoBufferSize: "0"
      verbosity: 0
    metricsBindAddress: 127.0.0.1:10249
    mode: ""
    nftables:
      masqueradeAll: false
      masqueradeBit: 14
      minSyncPeriod: 1s
      syncPeriod: 30s
    nodePortAddresses: null
    oomScoreAdj: -999
    portRange: ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 12:50:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/config/scheme/testdata/KubeletConfiguration/after/v1beta1.yaml

    kubeAPIBurst: 100
    kubeAPIQPS: 50
    localStorageCapacityIsolation: true
    logging:
      flushFrequency: 5s
      format: text
      options:
        json:
          infoBufferSize: "0"
        text:
          infoBufferSize: "0"
      verbosity: 0
    makeIPTablesUtilChains: true
    maxOpenFiles: 1000000
    maxPods: 110
    memoryManagerPolicy: None
    memorySwap: {}
    memoryThrottlingFactor: 0.9
    nodeLeaseDurationSeconds: 40
    nodeStatusMaxImages: 50
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 05:07:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. pkg/log/logr_test.go

    			l.Info("msg")
    			l.Error(errors.New("some error"), "msg")
    		})
    		mustMatchLength(t, 1, lines)
    		mustRegexMatchString(t, lines[0], "some error.*msg")
    	})
    
    	t.Run("info shows correct verbosity", func(t *testing.T) {
    		lines := runLogrTest(t, func(l logr.Logger) {
    			l.V(0).Info("0")
    			l.V(1).Info("1")
    			l.V(2).Info("2")
    			l.V(3).Info("3")
    			l.V(4).Info("4")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top