Repository navigation
Log with electron-log 5 (#375) - #380
Merged
jtklein-agents merged 1 commit intoNov 25, 2026
Merged
jtklein-agents merged 1 commit into
jtklein-agents merged 1 commit into
Conversation
Bump electron-log to ^5.4.4. The main-process API used here is unchanged
and the file transport still writes main.log under app.getPath('logs').
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jtklein-agents
merged commit Nov 25, 2026
4dfc76e
into
spec/370-electron-build-and-runtime-packages-current
11 of 12 checks passed
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.
Closes #375
Summary
No source changes.
autoUpdater.logger = log(src/main/index.ts) and thelog.infocalls insrc/main/updates.tsuse API that v5 keeps. v5's main-process file transport writesmain.logunderapp.getPath('logs'):~/Library/Logs/raxmlGUI/on macOS,userData/logs/on Windows and Linux. That matches 2.0.19.Evidence
Run on macOS:
yarn typecheck,yarn test,yarn test:e2eall pass.After: electron-log 5.4.4:
yarn typecheck: cleanyarn test: 67 files, 474 tests pass, includingsrc/pack.test.ts(node_modules/electron-log/package.jsonis still in the pack)yarn test:e2e: 4/4 pass~/Library/Logs/raxmlGUI/main.log(same path as before)Ubuntu and Windows: left to CI.
Note: in a worktree cut from this spec branch,
yarn lintpicks up master's flateslint.config.jsfrom the parent checkout. It passes withESLINT_USE_FLAT_CONFIG=false. This is not caused by this change.Merge Danger
Door: two-way
Revert the version bump to roll back. Log files on disk are untouched.
Blast Radius: logging
If the path were wrong, users'
main.logwould move, and bug reports that point at it would miss new lines. On macOS, a real run confirmed the path is unchanged.🤖 Generated with Claude Code