Replies: 4 comments 3 replies
-
I don't think I see anything wrong with that kind of feature. We already have a bunch of messaging around "we're really trying here, but nothing's perfect" and this would be an explicit "I know what I want" from users. Globs make sense since we're talking about files. Would we want to assume a leading |
Beta Was this translation helpful? Give feedback.
-
If the user has specified the --clean option for collecting and cleaning packages, will it be logical to initiate the cleaning of logs simultaneously during the collection process itself ? |
Beta Was this translation helpful? Give feedback.
-
#3520 proposed here. It was bit tricky to come up with an option name since Also, adding a new option to so many places in report+clean+collector is error-prone - we duplicate code and sometimes it is not clear why or where to add an option. This confusion will grow if/when we will introduce more subcommands of Ideally we should have (in |
Beta Was this translation helpful? Give feedback.
-
Closing discussion as resolved by the merged #3520. |
Beta Was this translation helpful? Give feedback.
-
As the cleaner run time can be in hours and esp. until #3097 (parallel cleaner) is implemented, does it make sense to have an option "skip cleaning these files in the archive"?
When a user knows some collected data are without any sensitive information but they still needs to clean the rest,
sos clean
shall have an option to skip cleaning them. Like e.g.sos clean --skip-cleaning=var/log/chrony,sos_commands/kernel,sos_commands/process/ps_*
- comma-separated list of paths (or prefixes of paths) such that cleaner will skip processing any file in the archive that starts with either path.The option or its argument is just an example and I am happy to hear other proposal (e.g. does glob's
*
make sense at all?), my point is if that feature makes sense at all.I think it can be a nice speed up of the cleaning process, while driven by users knowing on their own what is safe to skip.
Beta Was this translation helpful? Give feedback.
All reactions