Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
eefcc4f3
Commit
eefcc4f3
authored
Aug 23, 2025
by
RobPruzan
Committed by
Jiachi Liu
Sep 10, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update terminal logging fallback value
parent
26e70934
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
terminal-logging-config.ts
...rc/next-devtools/userspace/app/terminal-logging-config.ts
+1
-1
receive-logs.ts
packages/next/src/server/dev/browser-logs/receive-logs.ts
+1
-1
No files found.
packages/next/src/next-devtools/userspace/app/terminal-logging-config.ts
View file @
eefcc4f3
...
@@ -11,7 +11,7 @@ export function getTerminalLoggingConfig():
...
@@ -11,7 +11,7 @@ export function getTerminalLoggingConfig():
process
.
env
.
__NEXT_BROWSER_DEBUG_INFO_IN_TERMINAL
||
'true'
process
.
env
.
__NEXT_BROWSER_DEBUG_INFO_IN_TERMINAL
||
'true'
)
)
}
catch
{
}
catch
{
return
fals
e
return
tru
e
}
}
}
}
...
...
packages/next/src/server/dev/browser-logs/receive-logs.ts
View file @
eefcc4f3
...
@@ -73,7 +73,7 @@ const forwardConsole: typeof console = {
...
@@ -73,7 +73,7 @@ const forwardConsole: typeof console = {
// of test failures that require non trivial updates. Because we only omit
// of test failures that require non trivial updates. Because we only omit
// logging to stdout/stderr by default, but still perform the entire log collection
// logging to stdout/stderr by default, but still perform the entire log collection
// pipeline we wont be missing out on any important coverage, unless the code guarded here
// pipeline we wont be missing out on any important coverage, unless the code guarded here
// is bugged
// is bugged
(but this should be test by the explicit NEXT_TEST_BROWSER_LOGS tests)
if
(
if
(
process
.
env
.
__NEXT_TEST_MODE
&&
process
.
env
.
__NEXT_TEST_MODE
&&
!
process
.
env
.
NEXT_TEST_BROWSER_LOGS
!
process
.
env
.
NEXT_TEST_BROWSER_LOGS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment