zowe / zowe/zowe-client-python-sdk
[core] Support ZOWE_CLI_HOME directory for log file location
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 44
- Forks
- 38
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 1
Description
The default location of the
.zowefolder is~/.zoweas used here. In Zowe CLI and Zowe Explorer, it can be overridden with theZOWE_CLI_HOMEenvironment 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 thelogsdirectory 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the code that chooses the default .zowe directory and creates or stores the logs directory, then inspect how environment variables are handled. Done means ZOWE_CLI_HOME is used for logs when defined while the existing default remains unchanged otherwise.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100