You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What inspired the request?
Under /usr/local/payara5/glassfish/domains/domain1/logs/edit-drafts folder, the number of files is overgrowing (around 10K).
@JeyaSam - can you confirm whether you agree that adding a feature flag to disable edit-draft logging is enough to close this issue? (I've added a line in the #10890 description that will automatically close this issue when that PR is merged. I'll remove it if you think further work, e.g. to consolidate logging into one file should be done before this issue can close. )
@qqmyers - thanks for adding the flag. Adding of the feature flag to disable edit-draft logging will be helpful for the users who do not use the edit-draft log files. This flag needs to be there even if you further improve to consolidate logging into one file. Hence you can add it.
Actually, I couldn't find much information on how this logged information is used, so you can prioritize on consolidation based on the usage.
What inspired the request?
Under /usr/local/payara5/glassfish/domains/domain1/logs/edit-drafts folder, the number of files is overgrowing (around 10K).
What existing behavior do you want changed?
Do not know what are the scenarios or there are any APIs to use/retrieve the information logged by these files.
Since each file adds on to the change history of a dataset, deleting them based on date/time may not be correct.
Instead of creating one file for each change, one edit-draft file per dataset doi can be maintained to reduce the number of files.
It will be helpful if there is an configuration option to turn off this feature if people don't want to use it.
For e.g.:
curl -X PUT -d 'true' http://localhost:8080/api/admin/settings/:EditDraftFilesEnabled
Any brand new behavior do you want to add to Dataverse?
Any open or closed issues related to this feature request?
related google group post: https://groups.google.com/g/dataverse-community/c/eCii8K3LYJo/m/JT6JiCPEHQAJ
The text was updated successfully, but these errors were encountered: