Firmware/API Docs/LUXminer commands
logset
Updates logging options
logset
Description
Updates logging options. The parameters are the session_id
, followed by a comma-separated list of key-value pairs, in the format key=value
. The available keys are:
- file_level: define the log level to be used for the log files. Valid values are:
fatal
,error
,warn
,info
,debug
, andtrace
.
The current logging configuration can be seen on the config command.
Notes:
- This commands requires a luxminer restart for the logging settings to be applied.
- If autosave is disabled, the changes will be lost after a reboot.
Command
Examples
In this example, we are changing file log level to warn
. This change will be persistent.
Parameters
Parameter | Notes |
---|---|
session_id | A valid session ID. See Session Management for details. |
params | List of key-value parameters to change. |