Documentation | 2025.1

# Change the logging level

Swarm logs various activities to the data/log file. Change the logging level to increase or decrease the volume of log data by editing a configuration file.

An example configuration, in the `SWARM_ROOT/data/config.php` file:

    <?php
    	// this block should be a peer of 'p4'
    	'log' => array(
    	    'priority'  => 3, // 7 for max, defaults to 3
    	),

The maximum value for the log priority is 7; higher values do not result in increased logging. The minimum value is 0, which means no logging; lower values do not result in further logging reductions. For more information, see Logging.

Your search for returned results