Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for Console (0.22 sec)

  1. internal/logger/console.go

    }
    
    func consoleLog(console Logger, msg string, args ...interface{}) {
    	switch {
    	case jsonFlag:
    		// Strip escape control characters from json message
    		msg = ansiRE.ReplaceAllLiteralString(msg, "")
    		console.json(msg, args...)
    	case quietFlag:
    		if len(msg) != 0 && len(args) == 0 {
    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.quiet(msg+"\n", args...)
    	default:
    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)
  2. internal/logger/target/console/console.go

    	return nil
    }
    
    // Endpoint returns the backend endpoint
    func (c *Target) Endpoint() string {
    	return ""
    }
    
    func (c *Target) String() string {
    	return "console"
    }
    
    // Send log message 'e' to console
    func (c *Target) Send(e interface{}) error {
    	entry, ok := e.(log.Entry)
    	if !ok {
    		return fmt.Errorf("Uexpected log entry structure %#v", e)
    	}
    	if logger.IsJSON() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. cmd/consolelogger.go

    	console  *console.Target
    	nodeName string
    	logBuf   *ring.Ring
    }
    
    // NewConsoleLogger - creates new HTTPConsoleLoggerSys with all nodes subscribed to
    // the console logging pub sub system
    func NewConsoleLogger(ctx context.Context, w io.Writer) *HTTPConsoleLoggerSys {
    	return &HTTPConsoleLoggerSys{
    		pubsub:  pubsub.New[log.Info, madmin.LogMask](8),
    		console: console.New(w),
    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)
  4. cmd/common-main.go

    }
    
    const consolePrefix = "CONSOLE_"
    
    func minioConfigToConsoleFeatures() {
    	os.Setenv("CONSOLE_PBKDF_SALT", globalDeploymentID())
    	os.Setenv("CONSOLE_PBKDF_PASSPHRASE", globalDeploymentID())
    	if globalMinioEndpoint != "" {
    		os.Setenv("CONSOLE_MINIO_SERVER", globalMinioEndpoint)
    	} else {
    		// Explicitly set 127.0.0.1 so Console will automatically bypass TLS verification to the local S3 API.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  5. docs/en/docs/deployment/manually.md

    === "Uvicorn"
    
        <div class="termy">
    
        ```console
        $ uvicorn main:app --host 0.0.0.0 --port 80
    
        <span style="color: green;">INFO</span>:     Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
        ```
    
        </div>
    
    === "Hypercorn"
    
        <div class="termy">
    
        ```console
        $ hypercorn main:app --bind 0.0.0.0:80
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  6. cmd/main.go

    	app.CommandNotFound = func(ctx *cli.Context, command string) {
    		console.Printf("‘%s’ is not a minio sub-command. See ‘minio --help’.\n", command)
    		closestCommands := findClosestCommands(command)
    		if len(closestCommands) > 0 {
    			console.Println()
    			console.Println("Did you mean one of these?")
    			for _, cmd := range closestCommands {
    				console.Printf("\t‘%s’\n", cmd)
    			}
    		}
    
    		os.Exit(1)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/settings.md

        <div class="termy">
    
        ```console
        // You could create an env var MY_NAME with
        $ export MY_NAME="Wade Wilson"
    
        // Then you could use it with other programs, like
        $ echo "Hello $MY_NAME"
    
        Hello Wade Wilson
        ```
    
        </div>
    
    === "Windows PowerShell"
    
        <div class="termy">
    
        ```console
        // Create an env var MY_NAME
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  8. docs/auditlog/auditlog-echo.md

    # `auditlog-echo`: A tool to view MinIO Audit logs on the console
    
    1. Run the tool with:
    
    ```
    go run docs/auditlog/auditlog-echo.go
    ```
    
    The listen port has a default value (8080), but can be set with the `-port` flag.
    
    2. Configure audit logging in MinIO with for example:
    
    ```
    mc admin config set myminio audit_webhook enable=on endpoint=http://localhost:8080
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 447 bytes
    - Viewed (0)
  9. cmd/data-scanner.go

    			if entName == "" || entName == folder.name {
    				if f.dataUsageScannerDebug {
    					console.Debugf(scannerLogPrefix+" no entity (%s,%s)\n", f.root, entName)
    				}
    				return nil
    			}
    			bucket, prefix := path2BucketObjectWithBasePath(f.root, entName)
    			if bucket == "" {
    				if f.dataUsageScannerDebug {
    					console.Debugf(scannerLogPrefix+" no bucket (%s,%s)\n", f.root, entName)
    				}
    				return errDoneForNow
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  10. docs/distributed/CONFIG.md

    ## MinIO configuration YAML
    
    MinIO now supports starting the server arguments and configuration via a YAML configuration file. This YAML configuration describes everything that can be configured in a MinIO setup, such as '--address', '--console-address' and command line arguments for the MinIO server.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top