You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Changes
- Caller (file name) only displayed in debug mode
- Shorter timestamp format except in debug mode
- Field format are now key=value, instead of [key=value]
- Reduce node info we log during startup, except in debug mode
- Removed connect message
### New Format
```
→ bacalhau serve --orchestrator --compute
12:09:06 | INF Config loaded from: [], and with data-dir /Users/walid/.bacalhau
12:09:06 | INF Starting bacalhau...
12:09:07 | INF Starting connection manager node_id=n-2952ac48-9c5a-4114-8564-60eca482ba2e start_time=2024-12-12T12:09:07.805517+02:00
12:09:07 | INF Attempting to establish connection node_id=n-2952ac48-9c5a-4114-8564-60eca482ba2e
12:09:07 | INF bacalhau node running name=n-2952ac48-9c5a-4114-8564-60eca482ba2e orchestrators=["nats://127.0.0.1:4222"]
12:09:07 | INF handshake successful with node n-2952ac48-9c5a-4114-8564-60eca482ba2e
^C12:09:09 | INF bacalhau node shutting down...
```
### Old Format
```
→ bacalhau-1.5.0 serve --orchestrator --compute
12:09:11.576 | INF cmd/cli/serve/serve.go:102 > Config loaded from: [], and with data-dir /Users/walid/.bacalhau
12:09:11.577 | INF cmd/cli/serve/serve.go:181 > Starting bacalhau...
12:09:11.641 | INF cmd/cli/serve/serve.go:256 > bacalhau node running [address:0.0.0.0:1234] [capacity:"{CPU: 5.60, Memory: 12 GB, Disk: 76 GB, GPU: 0}"] [compute_enabled:true] [engines:["wasm","docker"]] [name:n-2952ac48-9c5a-4114-8564-60eca482ba2e] [orchestrator_address:0.0.0.0:4222] [orchestrator_enabled:true] [orchestrators:["nats://127.0.0.1:4222"]] [publishers:["noop","s3","local"]] [storages:["urldownload","inline","s3"]] [webui_enabled:false]
To connect to this node from the local client, run the following commands in your shell:
export BACALHAU_API_HOST=127.0.0.1
export BACALHAU_API_PORT=1234
A copy of these variables have been written to: /Users/walid/.bacalhau/bacalhau.run
^C12:09:14.077 | INF cmd/cli/serve/serve.go:271 > bacalhau node shutting down...
```

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced a debug mode for enhanced logging, providing detailed
startup information when enabled.
- **Bug Fixes**
- Improved error handling for configuration setup and logging issues.
- **Documentation**
- Updated log output format based on the log level, simplifying messages
in non-debug mode.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
0 commit comments