Update log file path to account for oz subdirectory for CLI logs.#8
Open
abhishekp106 wants to merge 1 commit intomainfrom
Open
Update log file path to account for oz subdirectory for CLI logs.#8abhishekp106 wants to merge 1 commit intomainfrom
oz subdirectory for CLI logs.#8abhishekp106 wants to merge 1 commit intomainfrom
Conversation
CLI logs are now written to an 'oz' subdirectory within the Warp state directory to avoid evicting GUI logs during rotation. Co-Authored-By: Oz <oz-agent@warp.dev>
oz subdirectory for CLI logs.
captainsafia
approved these changes
Feb 24, 2026
| const channelSuffix = channel === 'stable' ? '' : `-${channel}`; | ||
| const logFileName = channel === 'stable' ? 'warp.log' : `warp_${channel}.log`; | ||
| const warpLogPath = path.join(stateDir, `warp-terminal${channelSuffix}`, logFileName); | ||
| const warpLogPath = path.join(stateDir, `warp-terminal${channelSuffix}`, 'oz', logFileName); |
Collaborator
There was a problem hiding this comment.
The action allows you to pick the version of Oz that you want to install so there is a chance that someone runs the newest version of the action with an older version of Oz that doesn't yet write to this directory.
I don't think it's likely to happen and probably not worth writing code around but perhaps worth a comment in the code for posterity?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

WISOTT! In conjunction with https://github.com/warpdotdev/warp-internal/pull/22626.
Co-Authored-By: Oz oz-agent@warp.dev