Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for quiet (0.28 sec)

  1. cmd/common-main.go

    func buildServerCtxt(ctx *cli.Context, ctxt *serverCtxt) (err error) {
    	// Get "json" flag from command line argument and
    	ctxt.JSON = ctx.IsSet("json") || ctx.GlobalIsSet("json")
    	// Get quiet flag from command line argument.
    	ctxt.Quiet = ctx.IsSet("quiet") || ctx.GlobalIsSet("quiet")
    	// Get anonymous flag from command line argument.
    	ctxt.Anonymous = ctx.IsSet("anonymous") || ctx.GlobalIsSet("anonymous")
    	// Fetch address option
    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)
  2. internal/logger/logger.go

    var (
    	quietFlag, jsonFlag, anonFlag bool
    	// Custom function to format error
    	errorFmtFunc func(string, error, bool) string
    )
    
    // EnableQuiet - turns quiet option on.
    func EnableQuiet() {
    	color.TurnOff() // no colored outputs necessary in quiet mode.
    	quietFlag = true
    }
    
    // EnableJSON - outputs logs in json format.
    func EnableJSON() {
    	color.TurnOff() // no colored outputs necessary in JSON mode.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  3. cmd/server-main.go

    			logger.Fatal(config.ErrCertsAndHTTPEndpoints(nil), "Unable to start the server")
    		}
    	}
    
    	// Check for updates in non-blocking manner.
    	go func() {
    		if !globalServerCtxt.Quiet && !globalInplaceUpdateDisabled {
    			// Check for new updates from dl.min.io.
    			bootstrapTrace("checkUpdate", func() {
    				checkUpdate(getMinioMode())
    			})
    		}
    	}()
    
    	// Set system resources to maximum.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  4. docs/en/docs/deployment/manually.md

        <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
    
        Running on 0.0.0.0:8080 over http (CTRL + C to quit)
        ```
    
        </div>
    
    !!! note
        The command `uvicorn main:app` refers to:
    
    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)
  5. docs/en/docs/advanced/websockets.md

    If your file is named `main.py`, run your application with:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Open your browser at <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    You will see a simple page like:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/behind-a-proxy.md

    <div class="termy">
    
    ```console
    $ fastapi run main.py --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    If you use Hypercorn, it also has the option `--root-path`.
    
    !!! note "Technical Details"
        The ASGI specification defines a `root_path` for this use case.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  7. docs/en/docs/tutorial/first-steps.md

    <font color="#4E9A06">INFO</font>:     Will watch for changes in these directories: [&apos;/home/user/code/awesomeapp&apos;]
    <font color="#4E9A06">INFO</font>:     Uvicorn running on <b>http://127.0.0.1:8000</b> (Press CTRL+C to quit)
    <font color="#4E9A06">INFO</font>:     Started reloader process [<font color="#34E2E2"><b>2265862</b></font>] using <font color="#34E2E2"><b>WatchFiles</b></font>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 12K bytes
    - Viewed (0)
  8. docs/en/docs/fastapi-cli.md

    <font color="#4E9A06">INFO</font>:     Will watch for changes in these directories: [&apos;/home/user/code/awesomeapp&apos;]
    <font color="#4E9A06">INFO</font>:     Uvicorn running on <b>http://127.0.0.1:8000</b> (Press CTRL+C to quit)
    <font color="#4E9A06">INFO</font>:     Started reloader process [<font color="#34E2E2"><b>2265862</b></font>] using <font color="#34E2E2"><b>WatchFiles</b></font>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:16 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/index.md

    <font color="#4E9A06">INFO</font>:     Will watch for changes in these directories: [&apos;/home/user/code/awesomeapp&apos;]
    <font color="#4E9A06">INFO</font>:     Uvicorn running on <b>http://127.0.0.1:8000</b> (Press CTRL+C to quit)
    <font color="#4E9A06">INFO</font>:     Started reloader process [<font color="#34E2E2"><b>2265862</b></font>] using <font color="#34E2E2"><b>WatchFiles</b></font>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. cni/pkg/iptables/iptables.go

    	// healthcheck port, just like we used to. Otherwise, we can't assume it's local-node privileged traffic, and will capture and process it normally.
    	//
    	// All this is necessary because quite often apps use the same port for healthchecks as they do for reg. traffic, and
    	// we cannot make assumptions there.
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
Back to top