Skip to content

Commit 2bd5db2

Browse files
sanityclaude
andcommitted
ci: use JSON log format for structured output
JSON logs are parseable and structured fields like tx, elapsed_ms, tx_type become proper JSON fields rather than formatted text. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent adaba77 commit 2bd5db2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ jobs:
9999
# Enable debug logging for transport and PUT operations to diagnose test failures
100100
# Also allow info level for test_utils so logger capture tests work
101101
RUST_LOG: "error,freenet::transport::peer_connection=debug,freenet_core::transport::peer_connection=debug,freenet::test_utils=info,freenet_core::test_utils=info,freenet::operations::put=info,freenet_core::operations::put=info,freenet::node::network_bridge::p2p_protoc=info,freenet_core::node::network_bridge::p2p_protoc=info,connectivity=info"
102+
# Use JSON log format for structured, parseable output in CI
103+
FREENET_LOG_FORMAT: json
102104
CARGO_TARGET_DIR: ${{ github.workspace }}/target
103105

104106
steps:

0 commit comments

Comments
 (0)