Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SavePlotLogs setting #49

Merged
merged 5 commits into from
May 20, 2021
Merged

Add SavePlotLogs setting #49

merged 5 commits into from
May 20, 2021

Conversation

torrayne
Copy link

In reference to #17 and #32

I have added a SavePlotLogs setting that writes to ~/.chia/mainnet/plotter/plotng_log_ID.txt. This should be cross platform as it uses os specific separators when creating the file.

@maded2
Copy link
Owner

maded2 commented May 20, 2021

Thanks for the PR.

I do have a suggestion, if we have config "SavePlotLogDir" in the json file. If the user put a valid directory path there then the log files is created there. The default should be empty string which means no log files is created.

@torrayne
Copy link
Author

Just for clarification, do you mean replace SavePlotLogs with SavePlotLogDir?

@maded2
Copy link
Owner

maded2 commented May 20, 2021

Yes, I do. I think it is the simplest and most flexible solution.

@torrayne
Copy link
Author

Should be all set. I'm going to test overnight and will report in the morning.

@maded2 maded2 merged commit 003db43 into maded2:main May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants