chia-plotter icon indicating copy to clipboard operation
chia-plotter copied to clipboard

Chia plot logging without GUI

Open Gondagar opened this issue 4 years ago • 1 comments

Hi,

Please add parameter -log ./path/plot_****.txt
Now if generate a plot file(without GUI) with the help of a command chia plot {params} , no log file is created in the standard directory C:\Users\user\.chia\mainnet\plotter

Gondagar avatar May 23 '21 11:05 Gondagar

U must go to ~/.chia/mainnet/config, config.yaml, and there is 'log:', and u must set it to 'info' level to get full logs, as of a month ago, by default the logs are minimal to save storage space

Same for hpool-plotter, as chia-plotter, they both use config.yaml files, and both have fields for setting the level of log output.

As show here, if you want MAXIMAL logging, then change "WARNING" to "INFO", on log_level

pwd /home/master/.chia/mainnet/config

cat config.yaml | grep log logging: &id001 log_filename: log/debug.log log_level: WARNING log_maxfilesrotation: 7 log_stdout: false

room101-dev avatar Jun 19 '21 01:06 room101-dev