Skip to content

Console logs not showing, plus browser window size affecting displayed logs #7969

@dluc

Description

@dluc

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I work with a vertical monitor, and my browser window height is often 2300+ pixels. I’m using the latest macOS with the Edge browser.

A few issues I encountered here, see below.

Question: is there a workaround when the dashboard is broken, to see these logs? I can start resources manually, but that requires setting up several env vars normally managed by Aspire. Thanks. Update: for .NET I can see the logs launching Aspire from VS Code, where I can switch .NET process. Unfortunately this doesn't help for Python/Node.js/etc. processes.

Issue 1: missing logs

There is a problem around the 2250-pixel height threshold. If the window height is less than 2250 pixels, console logs display all lines correctly (more or less). However, if the height exceeds this threshold, the content is truncated after a few lines, and the rest is missing. Here are two screenshots of the same log, see around lines 100:

Image

Image

In a "regular" size window, when scrolling, the last log entries often disappear.

Issue 2: logs don't refresh

Even when using a smaller window size, new log entries do not appear. I have to refresh the page manually to see them.

Issue 3: incorrect scroll size

Not a major issue, but likely related: there’s an exaggerated amount of empty space after the last log entry, as if the viewport size or state calculation is incorrect. The extra space isn't always present; it appears depending on the scroll position. It often shows up after scrolling to the top and then back down.

Expected Behavior

  • Critical: all logs lines should be visible and remain visible even if scrolling
  • Important: the log page should automatically show new entries (I believe this is the expected behavior)

Steps To Reproduce

No response

Exceptions (if any)

I don't see errors in the browser console

.NET Version info

Latest versions, Aspire 9.1 and .NET 9.

Anything else?

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions