Skip to content

fix: show error level indicators in build logs#782

Merged
ndneighbor merged 1 commit intomasterfrom
fix/build-logs-error-formatting
Feb 4, 2026
Merged

fix: show error level indicators in build logs#782
ndneighbor merged 1 commit intomasterfrom
fix/build-logs-error-formatting

Conversation

@ndneighbor
Copy link
Contributor

@ndneighbor ndneighbor commented Feb 4, 2026

Problem

Users reported that railway logs -b (build logs) doesn't show error details that are visible in the dashboard UI. Specifically, the CLI output lacked the error-level indicators shown in the dashboard for failed builds.

Root Cause

Build logs were using simple output mode (use_formatted=false) which only displayed the raw message without any formatting. This meant error-level logs from the build process (like Docker build failures) didn't show the [ERRO] indicator.

Solution

Added a LogFormat enum with three modes:

  • Simple - raw message only
  • LevelOnly - level indicator ([ERRO], [INFO], etc.) + message, no extra attributes
  • Full - level + message + all attributes

Build logs were using simple output mode which only displayed the raw
message without any formatting. This meant error-level logs from the
build process (like Docker build failures) didn't show the [ERRO]
indicator that helps users quickly identify problems.

Changes:
- Add LogFormat enum with Simple, LevelOnly, and Full modes
- Build logs now use LevelOnly mode to show level indicators without
  the noisy buildkit metadata (digest, source, inputs, etc.)
- Deploy logs continue to use Full mode with all attributes

This brings CLI build log output closer to what the dashboard shows.

Co-Authored-By: Warp <agent@warp.dev>
@ndneighbor ndneighbor force-pushed the fix/build-logs-error-formatting branch from 4e058cc to c5218e5 Compare February 4, 2026 00:15
@ndneighbor ndneighbor added the release/minor Author minor release label Feb 4, 2026
@ndneighbor ndneighbor merged commit 2a74000 into master Feb 4, 2026
6 of 7 checks passed
@ndneighbor ndneighbor deleted the fix/build-logs-error-formatting branch February 4, 2026 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release/minor Author minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant