h9-dev / chia-plotter

The plotter for Chia.
102 stars 15 forks source link

Chia plot logging without GUI #60

Open Gondagar opened 3 years ago

Gondagar commented 3 years ago

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**

room101-dev commented 3 years ago

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