Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for logging (0.17 sec)

  1. cmd/logging.go

    }
    
    func kmsLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "kms", err, errKind...)
    }
    
    // KMSLogger permits access to kms module specific logging
    type KMSLogger struct{}
    
    // LogOnceIf is the implementation of LogOnceIf, accessible using the Logger interface
    func (l KMSLogger) LogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  2. internal/config/etcd/etcd.go

    	if err != nil {
    		return cfg, err
    	}
    
    	cfg.Enabled = true
    	cfg.DialTimeout = defaultDialTimeout
    	cfg.DialKeepAliveTime = defaultDialKeepAlive
    	// Disable etcd client SDK logging, etcd client
    	// incorrectly starts logging in unexpected data
    	// format.
    	cfg.LogConfig = &zap.Config{
    		Level:    zap.NewAtomicLevelAt(zap.FatalLevel),
    		Encoding: "console",
    	}
    	cfg.Endpoints = etcdEndpoints
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. internal/logger/config.go

    	AuditKafka   map[string]kafka.Config `json:"audit_kafka"`
    }
    
    // NewConfig - initialize new logger config.
    func NewConfig() Config {
    	cfg := Config{
    		// Console logging is on by default
    		Console: Console{
    			Enabled: true,
    		},
    		HTTP:         make(map[string]http.Config),
    		AuditWebhook: make(map[string]http.Config),
    		AuditKafka:   make(map[string]kafka.Config),
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. cmd/consolelogger.go

    	if err != nil {
    		logger.FatalIf(err, "Unable to start console logging subsystem")
    	}
    
    	sys.nodeName = host.Name
    }
    
    // HasLogListeners returns true if console log listeners are registered
    // for this node or peers
    func (sys *HTTPConsoleLoggerSys) HasLogListeners() bool {
    	return sys != nil && sys.pubsub.Subscribers() > 0
    }
    
    // Subscribe starts console logging for this node.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. internal/logger/console.go

    	"encoding/json"
    	"fmt"
    	"os"
    	"strings"
    	"time"
    
    	"github.com/minio/minio/internal/color"
    	"github.com/minio/pkg/v2/logger/message/log"
    )
    
    // ConsoleLoggerTgt is a stringified value to represent console logging
    const ConsoleLoggerTgt = "console+http"
    
    // ExitFunc is called by Fatal() class functions, by default it calls os.Exit()
    var ExitFunc = os.Exit
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. cmd/bootstrap-peer-server.go

    			// herd upon start up sequence.
    			time.Sleep(25*time.Millisecond + time.Duration(rand.Int63n(int64(100*time.Millisecond))))
    			retries++
    			// after 20 retries start logging that servers are not reachable yet
    			if retries >= 20 {
    				logger.Info(fmt.Sprintf("Waiting for at least %d remote servers with valid configuration to be online", len(clnts)/2))
    				if len(offlineEndpoints) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  7. internal/logger/target/testlogger/testlogger.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Package testlogger contains an autoregistering logger that can be used to capture logging events
    // for individual tests.
    // This package should only be included by test files.
    // To enable logging for a test, use:
    //
    //	func TestSomething(t *testing.T) {
    //		defer testlogger.T.SetLogTB(t)()
    //
    // This cannot be used for parallel tests.
    package testlogger
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 4K bytes
    - Viewed (0)
  8. cmd/api-router.go

    		queries: []string{"metrics", ""},
    	},
    	{
    		api:     "website",
    		methods: []string{http.MethodPut},
    		queries: []string{"website", ""},
    	},
    	{
    		api:     "logging",
    		methods: []string{http.MethodPut, http.MethodDelete},
    		queries: []string{"logging", ""},
    	},
    	{
    		api:     "accelerate",
    		methods: []string{http.MethodPut, http.MethodDelete},
    		queries: []string{"accelerate", ""},
    	},
    	{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  9. internal/http/request-recorder.go

    func (r *RequestRecorder) Size() int {
    	return r.bytesRead
    }
    
    // Data returns the bytes that were recorded.
    func (r *RequestRecorder) Data() []byte {
    	// If body logging is enabled then we return the actual body
    	if r.LogBody {
    		return r.buf.Bytes()
    	}
    	// ... otherwise we return <BLOB> placeholder
    	return blobBody
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 12 21:37:19 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  10. cmd/signature-v2.go

    	"encryption",
    	"legal-hold",
    	"lifecycle",
    	"location",
    	"logging",
    	"notification",
    	"partNumber",
    	"policy",
    	"requestPayment",
    	"response-cache-control",
    	"response-content-disposition",
    	"response-content-encoding",
    	"response-content-language",
    	"response-content-type",
    	"response-expires",
    	"retention",
    	"select",
    	"select-type",
    	"tagging",
    	"torrent",
    	"uploadId",
    	"uploads",
    	"versionId",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
Back to top