-
Notifications
You must be signed in to change notification settings - Fork 93
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
Zowe explorer writes logs into the wrong folder #1926
Comments
Thank you for creating a bug report. If you haven't already, please ensure you have provided steps to reproduce it and as much context as possible. |
@kristinochka is this only an issue when using Dev Host or also when the vsix is installed? |
We could investigate writing logs into the same folder as VS Code: Edit: Looked into this some more, we could achieve this by replacing |
@t1m0thyj VS Code puts their logs in a place that's difficult to navigate to or find if you're not a VS Code developer and it does create new folders for each session. If we add it there, user needs to be able to find it easily. There is a ticket to create Zowe Explorer output window in VS Code. Logs could be printed to the Output window and it would print the location of the log file on disk. @JillieBeanSim has plans to work on this feature. |
Describe the bug
I expected Zowe Explorer to write logs to the following folder: /Users/kristinamayo/.zowe/zowe/logs
However, it's not the case. On my computer Zowe Explorer writes logs in the following folders:
/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/logs/zowe.log /Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/logs/zowe.log
It’s duplicating path to zowe-explorer (/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer) many times and then logging there.
I deleted the nested folders above and now it’s creating nested folders in here:
/Users/kristinamayo/.vscode/extensions/zowe.vscode-extension-for-zowe-2.2.0-SNAPSHOT/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/Users/kristinamayo/wazi/vscode-extension-for-zowe/packages/zowe-explorer/logs/zowe.log
For every new zowe.log, it creates a nested folder with a long path
To Reproduce
Expected behavior
I expected Zowe Explorer to write logs to the following folder: /Users/kristinamayo/.zowe/zowe/logs and not duplicate the directory path
Screenshots
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: