Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for logb (0.09 sec)

  1. src/net/http/serve_test.go

    		got := ht.rawResponse("GET / HTTP/1.1\nHost: golang.org")
    		logs := ht.logbuf.String()
    		if err := tc.check(got, logs); err != nil {
    			t.Errorf("%s: %v\nGot response:\n%s\n\n%s", tc.name, err, got, logs)
    		}
    	}
    }
    
    type errorListener struct {
    	errs []error
    }
    
    func (l *errorListener) Accept() (c net.Conn, err error) {
    	if len(l.errs) == 0 {
    		return nil, io.EOF
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  2. cluster/gce/gci/configure-helper.sh

    # duplicated there as well.
    function log-wrap {
      local bootstep="$1"
      local command="${*:2}"
    
      log-trap-push "log-error ${bootstep}"
      log-proto "${bootstep}" "${LOG_STATUS_STARTED}"
      $command
      log-proto "${bootstep}" "${LOG_STATUS_COMPLETED}"
      log-trap-pop
    }
    
    # Logs a bootstrap step start. Prefer log-wrap.
    # Args:
    #   $1 : bootstrap step name.
    #
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  3. src/net/http/transport_test.go

    		GetConn:      func(hostPort string) { t.Logf("GetConn(%q)", hostPort) },
    		GotConn:      func(ci httptrace.GotConnInfo) { t.Logf("GotConn(%+v)", ci) },
    		PutIdleConn:  func(err error) { t.Logf("PutIdleConn(%v)", err) },
    		ConnectStart: func(network, addr string) { t.Logf("ConnectStart(%q, %q)", network, addr) },
    		ConnectDone:  func(network, addr string, err error) { t.Logf("ConnectDone(%q, %q, %v)", network, addr, err) },
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  4. src/net/http/server.go

    }
    
    func (s *Server) logf(format string, args ...any) {
    	if s.ErrorLog != nil {
    		s.ErrorLog.Printf(format, args...)
    	} else {
    		log.Printf(format, args...)
    	}
    }
    
    // logf prints to the ErrorLog of the *Server associated with request r
    // via ServerContextKey. If there's no associated server, or if ErrorLog
    // is nil, logging is done via the log package's standard logger.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet.go

    					}
    				}
    				// Fall back in case the caller is directly trying to query a file
    				// Example: kubectl get --raw /api/v1/nodes/$name/proxy/logs/foo.log
    				file.ServeHTTP(w, req)
    			}))
    		} else {
    			kl.logServer = http.StripPrefix("/logs/", file)
    		}
    	}
    	if kl.kubeClient == nil {
    		klog.InfoS("No API server defined - no node status update will be sent")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  6. pkg/api/pod/util_test.go

    		t.Logf("Missing expected secret paths:\n%s", strings.Join(sets.List[string](missingPaths), "\n"))
    		t.Error("Missing expected secret paths. Verify VisitPodSecretNames() is correctly finding the missing paths, then correct expectedSecretPaths")
    	}
    	if extraPaths := secretPaths.Difference(expectedSecretPaths); len(extraPaths) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_pods.go

    		// unrecognized state
    		return kubecontainer.ContainerID{}, fmt.Errorf("container %q in pod %q is waiting to start - no logs yet", containerName, podName)
    	}
    
    	return kubecontainer.ParseContainerID(cID), nil
    }
    
    // GetKubeletContainerLogs returns logs from the container
    // TODO: this method is returning logs of random container attempts, when it should be returning the most recent attempt
    // or all of them.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  8. src/database/sql/sql_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    
    	opens := driver.openCount - opens0
    	if opens > 1 {
    		t.Errorf("opens = %d; want <= 1", opens)
    		t.Logf("db = %#v", db)
    		t.Logf("driver = %#v", driver)
    		t.Logf("stmt = %#v", stmt)
    	}
    }
    
    // Issue 3857
    // This used to deadlock.
    func TestSimultaneousQueries(t *testing.T) {
    	db := newTestDB(t, "people")
    	defer closeDB(t, db)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    	request, err := http.NewRequest("GET", server.URL+"/logs", nil)
    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    
    	response, err := client.Do(request)
    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    
    	body, err := ioutil.ReadAll(response.Body)
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	t.Logf("Data: %s", string(body))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_test.go

    					if !ok {
    						t.Logf("expected kubernetes.io/os label to be present")
    						return false, nil
    					}
    					if val != goruntime.GOOS {
    						t.Logf("expected kubernetes.io/os to match runtime.GOOS but got %v", val)
    						return false, nil
    					}
    					val, ok = savedNode.Labels[v1.LabelArchStable]
    					if !ok {
    						t.Logf("expected kubernetes.io/arch label to be present")
    						return false, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
Back to top