[ https://issues.apache.org/jira/browse/SOLR-9587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16282504#comment-16282504 ]
Shawn Heisey commented on SOLR-9587: ------------------------------------ I've begun some initial work on a script for this. For now, I'm ignoring the fact that we don't have any kind of infrastructure for collecting packages from users. I will write up a wiki page with some suggestions about file sharing sites like Dropbox, and have the script output the URL for that page. Despite my personal opinion that I could do a better job with the script if I wrote it in perl, I have decided to write it as a shell script for better portability. I'm trying very hard to NOT use any bashisms, so the script will work on the original bourne shell (/bin/sh), but since all of the systems I have easy access to use either bash or dash for /bin/sh, I can't be 100 percent certain that I've succeeded. Once I've finished the first draft, a review with suggestions for any mistakes I've made would be appreciated. Additional ideas for information that can easily be gathered are also appreciated. > Script for creating a redacted tech support package > --------------------------------------------------- > > Key: SOLR-9587 > URL: https://issues.apache.org/jira/browse/SOLR-9587 > Project: Solr > Issue Type: New Feature > Security Level: Public(Default Security Level. Issues are Public) > Components: scripts and tools > Reporter: Shawn Heisey > Priority: Minor > > When users need help with Solr from the project, relevant config and log > information from their install is usually the best way that we can help them. > If we had an easy way to gather all useful information into a single > compressed file that a user could place onto a file sharing site, we'd be in > awesome shape. > If the script was smart enough to try and keep the final size of the package > under 1MB, which might be challenging until we have a better handle on > logfile rotation, most users would be able to share the package using > Apache's own pastebin, which can be found here: http://apaste.info > If we pass control to the SolrCLI Java class as part of the script > functionality, we can also automatically redact any *config* information that > we *know* to be sensitive, like passwords. Automatic redaction of logfiles > might be nearly impossible, but we should be making efforts in our standard > INFO-level logging to never log anything most users would consider to be > sensitive. If the user bumps to DEBUG or TRACE, all bets are off. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org