zowe / zowe-client-python-sdk

Eclipse Public License 2.0
36 stars 26 forks source link

[core] Support ZOWE_CLI_HOME directory for log file location #271

Open t1m0thyj opened 1 month ago

t1m0thyj commented 1 month ago

The default location of the .zowe folder is ~/.zowe as used here. In Zowe CLI and Zowe Explorer, it can be overridden with the ZOWE_CLI_HOME environment variable to point to another directory.

We may want to check for the existence of os.environ["ZOWE_CLI_HOME"], and if it is defined then store the logs directory inside it. This could be addressed in a separate issue 🙂

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

github-actions[bot] commented 6 days 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.