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

Allow automatically deleting old files #26

Open
agomez08 opened this issue May 4, 2020 · 0 comments
Open

Allow automatically deleting old files #26

agomez08 opened this issue May 4, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@agomez08
Copy link

agomez08 commented May 4, 2020

Is your feature request related to a problem? Please describe.

Some test systems may run for several days and log data continuously. Some of them won't have an external tool to do house keeping and delete the files from the Embedded/RT system's disk, causing it to get full at some point.

Describe the solution you'd like

It will be nice to have some sort of tool integrated with the CD that would automatically deleting old files from disk based on a configurable criteria. See one potential approach in the Additional context section.

Describe alternatives you've considered
Create a separate CD. Although it makes more sense integrating the feature into the CD that is doing the data logging.
Host tool to remove files. Not desirable for applications where a host may not always be present.

Additional context
One potential approach:

System Explorer:

  • Add a "Logs Cleaner" page under each Log File section.

  • Page has a checkbox to enable the cleaner.

  • Page has a setting with checking period (how often the process will attempt to delete files)

  • Page shows on a string indicator the folder where files may be removed. Shows the configured log path if archiving is disabled or shows the Archive Directory if enabled.

  • Page shows settings with deleting criteria: Delete when files get older than, Delete when files count is greater than, Delete when folder disk usage is greater than.

image

Engine:

  • Launch async process with settings for all loggers.
@agomez08 agomez08 added the enhancement New feature or request label May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant