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

Server logging by TraceLayer #3

Merged
merged 1 commit into from
Oct 8, 2021
Merged

Server logging by TraceLayer #3

merged 1 commit into from
Oct 8, 2021

Conversation

Taillook
Copy link
Owner

@Taillook Taillook commented Oct 6, 2021

ref: #2

app_1   | [Running 'cargo run']
app_1   |     Finished dev [unoptimized + debuginfo] target(s) in 0.13s
app_1   |      Running `target/debug/server`
app_1   | [2021-10-06T13:08:35Z INFO  server] listening on 0.0.0.0:8088 
app_1   | [2021-10-06T13:08:50Z DEBUG tower_http::trace::make_span] request; method=GET uri=/websocket/group1/user2 version=HTTP/1.1
app_1   | [2021-10-06T13:08:50Z DEBUG server] started GET /websocket/group1/user2 
app_1   | [2021-10-06T13:08:50Z DEBUG server] response generated in 524µs

@Taillook Taillook self-assigned this Oct 6, 2021
@Taillook Taillook merged commit 0c8189a into main Oct 8, 2021
@Taillook Taillook deleted the feat/TraceLayer branch November 14, 2021 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant