zowe / zowe-client-python-sdk

Eclipse Public License 2.0
39 stars 25 forks source link

[core] Rotate log files to limit amount of disk space used #272

Open t1m0thyj opened 4 months ago

t1m0thyj commented 4 months ago

If all the logs are written to the same file, over a long period of time it will grow in size and become many MB. We may want to investigate the RotatingFileHandler class which switches logging to a new file when the file exceeds a certain size, and deletes old files (similar to what our Node.js SDK does).

Since logging to a file is working, this could be addressed in a separate issue 🙂

_Originally posted by @t1m0thyj in https://github.com/zowe/zowe-client-python-sdk/pull/268#discussion_r1618718411_

github-actions[bot] commented 3 months ago

Thank you for raising this enhancement request. The community has 90 days to vote on it. If the enhancement receives at least 5 upvotes, it is added to our development backlog. If it receives fewer votes, the issue is closed.