Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions devkit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,17 @@ just logs 0 | head -20 # oldest entries
just logs 0 | tail -20 # newest entries
```

`just logs` only shows container stdout/stderr. Kafka component logs are written
inside the node container under `/tmp/kafka-logs`, for example
`/tmp/kafka-logs/server.log`, `controller.log`, `s3-object.log`, and
`s3stream-threads.log`. Use `just exec` when checking detailed broker logs:

```bash
just exec 0 grep -R ERROR /tmp/kafka-logs
just exec 0 grep -R LOGCACHE_VERIFY /tmp/kafka-logs
just exec 0 tail -200 /tmp/kafka-logs/server.log
```

## Topic Operations

```bash
Expand Down
2 changes: 1 addition & 1 deletion devkit/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ ensure-cluster-id:

# Override to skip or replace the Java build step, e.g.:
# DEVKIT_BUILD_CMD="echo skipped" just start-build
JAVA_BUILD_CMD := env_var_or_default("DEVKIT_BUILD_CMD", "./gradlew :core:build :tools:build :shell:build -x test")
JAVA_BUILD_CMD := env_var_or_default("DEVKIT_BUILD_CMD", "./gradlew build -x test")

[private]
build:
Expand Down
Loading