Skip to content
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

Disable poem::server log when databend-query start #6058

Open
BohuTANG opened this issue Jun 19, 2022 · 0 comments
Open

Disable poem::server log when databend-query start #6058

BohuTANG opened this issue Jun 19, 2022 · 0 comments
Labels
C-improvement Category: improvement good first issue Category: good first issue stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed

Comments

@BohuTANG
Copy link
Member

Summary

./target/debug/databend-query 

... ... 
2022-06-19T03:31:37.041051Z  INFO databend_query: Listening for ClickHouse compatibility native protocol: 127.0.0.1:9000, Usage: clickhouse-client --host 127.0.0.1 --port 9000
2022-06-19T03:31:37.042913Z  INFO databend_query: Listening for ClickHouse compatibility http protocol: 127.0.0.1:8124, Usage:  echo 'create table test(foo string)' | curl -u root: '127.0.0.1:8124' --data-binary  @-
echo '{"foo": "bar"}' | curl -u root: '127.0.0.1:8124/?query=INSERT%20INTO%20test%20FORMAT%20JSONEachRow' --data-binary @-
2022-06-19T03:31:37.043192Z  INFO poem::server: listening addr=socket://127.0.0.1:8124
2022-06-19T03:31:37.043780Z  INFO poem::server: server started
2022-06-19T03:31:37.047385Z  INFO databend_query: Listening for Databend HTTP API:  127.0.0.1:8000, Usage:  curl -u root: --request POST '127.0.0.1:8000/v1/query/' --header 'Content-Type: application/json' --data-raw '{"sql": "SELECT avg(number) FROM numbers(100000000)"}'

2022-06-19T03:31:37.047443Z  INFO poem::server: listening addr=socket://127.0.0.1:8000 -- how to disable it?
2022-06-19T03:31:37.047661Z  INFO poem::server: server started -- how to disable it?
2022-06-19T03:31:37.048166Z  INFO databend_query: Listening for Metric API: 127.0.0.1:7070/metrics
2022-06-19T03:31:37.048226Z  INFO poem::server: listening addr=socket://127.0.0.1:7070
2022-06-19T03:31:37.048327Z  WARN databend_query::api::http_service: Http API TLS not set
2022-06-19T03:31:37.048432Z  INFO poem::server: server started -- how to disable it?
2022-06-19T03:31:37.050562Z  INFO databend_query: Listening for Admin HTTP API: 127.0.0.1:8080
2022-06-19T03:31:37.050648Z  INFO poem::server: listening addr=socket://127.0.0.1:8080 -- how to disable it?
2022-06-19T03:31:37.050852Z  INFO poem::server: server started -- how to disable it?

2022-06-19T03:31:37.050648Z  INFO poem::server: listening addr=socket://127.0.0.1:8080 -- how to disable it?
2022-06-19T03:31:37.050852Z  INFO poem::server: server started -- how to disable it?
@BohuTANG BohuTANG added C-improvement Category: improvement good first issue Category: good first issue labels Jun 19, 2022
@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-improvement Category: improvement good first issue Category: good first issue stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed
Projects
None yet
Development

No branches or pull requests

1 participant