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

UDLog - size limits #1647

Open
dcherry88 opened this issue Jun 1, 2020 · 0 comments
Open

UDLog - size limits #1647

dcherry88 opened this issue Jun 1, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@dcherry88
Copy link

Is your Enhancement request related to a problem?

Utilizing Enable-UDLogging allows a great way to track debugging info on the site. However, if left to it's own devices it can get quite large.

Describe the solution you'd like

Add new parameters to help curb total size of the log, or backend action of UD to roll the log into archive logs once it reaches a certain size.

-Logsize : maximum log size in mb
-logdays : maximum amount of days logs are kept for
-archive : action allows UD to take existing logfile specified in -FilePath and rename it to an archive log with date range of logfiles. If archive exists beyond the logdays parameter it will delete that archive, otherwise it will keep it.

Describe how this would improve your Universal Dashboard Quality of Life

This will allow customization of length of time to keep a log, as well as curb the size of the logfiles so that they are easier to open and look through. Archive functionality would improve being able to keep some historic data if necessary, in sizable chunks for consumption.

Describe alternatives you've considered

Writing my own scheduled task to do this work on the webserver.

@dcherry88 dcherry88 added the enhancement New feature or request label Jun 1, 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