Difference between revisions of "Avalanchego logs"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
 +
    [[--log-dir]] string                                              Logging directory for Avalanche (default "$AVALANCHEGO_DATA_DIR/logs")
 +
    --log-disable-display-plugin-logs                              Disables displaying plugin logs in stdout.
 +
    [[--log-display-level]] string                                    The log display level. If left blank, will inherit the value of log-level. Otherwise, should be one of {verbo, debug, trace, info, warn, error, fatal, off}
 +
    [[--log-format]] string                                            The structure of log format. Defaults to 'auto' which formats terminal-like logs, when the output is a terminal. Otherwise, should be one of {auto, plain, colors, json} (default "auto")
 +
    [[--log-level]] string                                            The log level. Should be one of {verbo, debug, trace, info, warn, error, fatal, off} (default "info")
 +
    --log-rotater-compress-enabled                                Enables the compression of rotated log files through gzip.
 +
    --log-rotater-max-age uint                                    The maximum number of days to retain old log files based on the timestamp encoded in their filename. 0 means retain all old log files.
 +
    --log-rotater-max-files uint                                  The maximum number of old log files to retain. 0 means retain all old log files. (default 7)
 +
    --log-rotater-max-size uint                                    The maximum file size in megabytes of the log file before it gets rotated. (default 8)
 +
    --max-stake-duration duration             
  
 
== MISC ==
 
== MISC ==

Revision as of 09:36, 18 July 2023

    --log-dir string                                               Logging directory for Avalanche (default "$AVALANCHEGO_DATA_DIR/logs")
    --log-disable-display-plugin-logs                              Disables displaying plugin logs in stdout.
    --log-display-level string                                     The log display level. If left blank, will inherit the value of log-level. Otherwise, should be one of {verbo, debug, trace, info, warn, error, fatal, off}
    --log-format string                                            The structure of log format. Defaults to 'auto' which formats terminal-like logs, when the output is a terminal. Otherwise, should be one of {auto, plain, colors, json} (default "auto")
    --log-level string                                             The log level. Should be one of {verbo, debug, trace, info, warn, error, fatal, off} (default "info")
    --log-rotater-compress-enabled                                 Enables the compression of rotated log files through gzip.
    --log-rotater-max-age uint                                     The maximum number of days to retain old log files based on the timestamp encoded in their filename. 0 means retain all old log files.
    --log-rotater-max-files uint                                   The maximum number of old log files to retain. 0 means retain all old log files. (default 7)
    --log-rotater-max-size uint                                    The maximum file size in megabytes of the log file before it gets rotated. (default 8)
    --max-stake-duration duration               

MISC

the method ... does not exist/is not available
debug_traceTransaction
missing trie node
Protocol version mismatch avalanchego
handling sync message took longer than expected
Failed to create chain on subnet
subnets not bootstrapped
 [04-17|15:05:53.494] INFO chains/manager.go:319 creating chain {"subnetID": 
"11111111111111111111111111111111LpoZZ", "chainID": 
"11111111111111111111111111111111LpoZZ", "vmID": 
"rWhpuQPF1kb722324235425435345"}

INFO

INFO Regenerating historical state block
INFO <P Chain> proposervm/block.go:269 built block

WARN

context canceled
WARN health/health.go:106 failing health check
WARN genesis is not traceable
WARN Caller gas above allowance, capping requested
WARN Unclean shutdown detected
WARN <xxxxxx Chain> github.com/ava-labs/subnet-evm/plugin/evm/vm.go:372: Config has not specified any coinbase address. Defaulting to the blackhole address.
http: superfluous response.WriteHeader call from github.com/ava-labs/avalanchego/vms/rpcchainvm/ghttp.(*Client).serveHTTPSimple (http_client.go:191)
beacon attempting to connect with newer version. You may want to update your client 
WARN app/app.go:197 HTTP server is binding to a potentially public host. You may be vulnerable to a DoS attack if your HTTP port is publicly accessible {"host": "0.0.0.0"}

ERROR

ERROR peer/peer.go:951 failed to send peer list for handshake
"error": "platform layer is unhealthy err: not connected to enough stake, details: connected to 50.000000% of \"xxxxxxxxxxxxxx\" weight; should be connected to at least 80.000000%",

See also

Advertising: