Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for log_json (0.44 sec)

  1. pkg/bootstrap/option/instances.go

    }
    
    func OutlierLogPath(value string) Instance {
    	return newOptionOrSkipIfZero("outlier_log_path", value)
    }
    
    func ApplicationLogJSON(value bool) Instance {
    	return newOption("log_json", value)
    }
    
    func LightstepAddress(value string) Instance {
    	return newOptionOrSkipIfZero("lightstep", value).withConvert(addressConverter(value))
    }
    
    func LightstepToken(value string) Instance {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. tools/packaging/common/envoy_bootstrap.json

    {
      "application_log_config": {
        "log_format": {
    {{- if .log_json }}
          "json_format": {
            "time": "%Y-%m-%dT%T.%fZ",
            "level": "%l",
            "scope": "envoy %n",
            "msg": "%j",
            "caller": "%g:%#",
            "thread": "%t"
          }
    {{- else }}
            "text_format": "%Y-%m-%dT%T.%fZ\t%l\tenvoy %n %g:%#\t%v\tthread=%t"
    {{- end }}
        }
      },
      "node": {
        "id": "{{ .nodeID }}",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. cni/test/testdata/pre/non_json.conf

    John Howard <******@****.***> 1605827959 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 19 23:19:19 UTC 2020
    - 60 bytes
    - Viewed (0)
  4. internal/logger/console.go

    		message = fmt.Sprintf(msg, args...)
    	} else {
    		message = fmt.Sprint(args...)
    	}
    	logJSON, err := json.Marshal(&log.Entry{
    		Level:   FatalKind,
    		Message: message,
    		Time:    time.Now().UTC(),
    		Trace:   &log.Trace{Message: message, Source: []string{getSource(6)}},
    	})
    	if err != nil {
    		panic(err)
    	}
    	fmt.Fprintln(Output, string(logJSON))
    	ExitFunc(1)
    }
    
    func (f fatalMsg) quiet(msg string, args ...interface{}) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. internal/logger/target/console/console.go

    	entry, ok := e.(log.Entry)
    	if !ok {
    		return fmt.Errorf("Uexpected log entry structure %#v", e)
    	}
    	if logger.IsJSON() {
    		logJSON, err := json.Marshal(&entry)
    		if err != nil {
    			return err
    		}
    		fmt.Fprintln(c.output, string(logJSON))
    		return nil
    	}
    
    	if entry.Level == logger.EventKind {
    		fmt.Fprintln(c.output, entry.Message)
    		return nil
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. tools/bug-report/pkg/processlog/processlog.go

    	default:
    		return nil, "", "", false
    	}
    	text = strings.Join(lv[2:], "\t")
    	valid = true
    	return
    }
    
    type logJSON struct {
    	Time  string
    	Level string
    	Msg   string
    }
    
    func parseJSONLog(line string) (timeStamp *time.Time, level string, text string, valid bool) {
    	lj := logJSON{}
    
    	err := json.Unmarshal([]byte(line), &lj)
    	if err != nil {
    		return nil, "", "", false
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 19 21:44:33 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. samples/bookinfo/src/details/details.rb

            rescue
              raise 'please provide numeric product id'
            end
            details = get_book_details(id, headers)
            res.body = details.to_json
            res['Content-Type'] = 'application/json'
        rescue => error
            res.body = {'error' => error}.to_json
            res['Content-Type'] = 'application/json'
            res.status = 400
        end
    end
    
    # TODO: provide details on different books.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. pkg/kube/inject/testdata/inputs/hello.yaml.13.values.gen.yaml

        "hub": "gcr.io/istio-testing",
        "imagePullPolicy": "",
        "imagePullSecrets": [],
        "istioNamespace": "istio-system",
        "istiod": {
          "enableAnalysis": false
        },
        "logAsJson": false,
        "logging": {
          "level": "default:info"
        },
        "meshID": "",
        "meshNetworks": {},
        "mountMtlsCerts": true,
        "multiCluster": {
          "clusterName": "",
          "enabled": false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 21:01:52 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. pkg/kube/inject/testdata/inputs/hello.yaml.4.values.gen.yaml

        "hub": "gcr.io/istio-testing",
        "imagePullPolicy": "Never",
        "imagePullSecrets": [],
        "istioNamespace": "istio-system",
        "istiod": {
          "enableAnalysis": false
        },
        "logAsJson": false,
        "logging": {
          "level": "default:info"
        },
        "meshID": "",
        "meshNetworks": {},
        "mountMtlsCerts": false,
        "multiCluster": {
          "clusterName": "",
          "enabled": false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 21:01:52 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. pkg/kube/inject/testdata/inputs/kubevirtInterfaces.yaml.9.values.gen.yaml

        "hub": "gcr.io/istio-testing",
        "imagePullPolicy": "",
        "imagePullSecrets": [],
        "istioNamespace": "istio-system",
        "istiod": {
          "enableAnalysis": false
        },
        "logAsJson": false,
        "logging": {
          "level": "default:info"
        },
        "meshID": "",
        "meshNetworks": {},
        "mountMtlsCerts": false,
        "multiCluster": {
          "clusterName": "",
          "enabled": false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 21:01:52 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top