Skip to content

spqr-coordinator use pretty log by default #1070

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Denchick opened this issue Mar 10, 2025 · 0 comments
Open

spqr-coordinator use pretty log by default #1070

Denchick opened this issue Mar 10, 2025 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Denchick
Copy link
Collaborator

Describe the bug
If you do not specify pretty_log field in your config and do not pass prettyLog flag to the CLI, then spqr-coordinator will use pretty log by default.

To Reproduce

➜  spqr git:(roles-v2) ./spqr-coordinator --config ./examples/coordinator.yaml --qdb-impl etcd
2025/03/10 15:32:27 Running config: {
  "log_level": "info",
  "qdb_addr": "localhost:2379",
  "coordinator_port": "7002",
  "grpc_api_port": "7003",
  "host": "localhost",
  "auth": null,
  "frontend_tls": null,
  "shard_data": "examples/shard_data.yaml",
  "use_systemd_notifier": false,
  "systemd_notifier_debug": false,
  "iteration_timeout": 0
}
3:32PM INF running coordinator app
3:32PM ERR qdb already taken, waiting for connection error="qdb is already in use."

Expected behavior
spqr-coordinator should use structured json log by default.

@Denchick Denchick added bug Something isn't working good first issue Good for newcomers labels Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant