Logging - Algorand Specifications

Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Algorand Specifications

Parameter Name Default Value Introduced in Version Last Updated in Version
BaseLoggerDebugLevel 4 0 (default was 1) 1

Description:

Specifies the logging level for algod (node.log).

The levels are:

Parameter Name Default Value Introduced in Version Last Updated in Version
CadaverSizeTarget 0 0 (default was 1073741824) 24

Description:

Specifies the maximum size of the agreement.cdv file in bytes. Once full, the file will be renamed to agreement.archive.log and a new agreement.cdv will be created.

Parameter Name Default Value Introduced in Version Last Updated in Version
CadaverDirectory Empty string 27 27

Description:

If not set, MakeService will attempt to use ColdDataDir instead.

Parameter Name Default Value Introduced in Version Last Updated in Version
LogFileDir Empty string 31 31

Description:

An optional directory to store the log file, node.log. If not set, the node will use the HotDataDir. The -o GOAL CLI option can override this output location.

Parameter Name Default Value Introduced in Version Last Updated in Version
LogArchiveDir Empty string 31 31

Description:

An optional directory to store the log archive. If not specified, the node will use the ColdDataDir.

Parameter Name Default Value Introduced in Version Last Updated in Version
LogSizeLimit 1073741824 0 0

Description:

Sets the node log file size limit in bytes. When set to 0, logs will be written to stdout.

Parameter Name Default Value Introduced in Version Last Updated in Version
LogArchiveName node.archive.log 4 4

Description:

Text template for creating the log archive filename. If the filename ends with .gz or .bz2 it will be compressed.

Available template variables:

Parameter Name Default Value Introduced in Version Last Updated in Version
LogArchiveMaxAge Empty string 4 4

Description:

Specifies the maximum age for a node log. Valid units are s seconds, m minutes, h hours.

Parameter Name Default Value Introduced in Version Last Updated in Version
EnableRequestLogger false 4 4

Description:

Enables the logging of the incoming requests to the telemetry server.

Parameter Name Default Value Introduced in Version Last Updated in Version
TelemetryToLog true 5 5

Description:

Configures whether to record messages to node.log that are usually only sent to remote event monitoring.

Parameter Name Default Value Introduced in Version Last Updated in Version
EnableVerbosedTransactionSyncLogging false 17 17

Description:

Allows the Transaction Sync to write extensive message exchange information to the log file. This option is disabled by default to prevent the rapid growth of logs.