Skip to content

Commit 1a7ef5d

Browse files
committed
log level debug
1 parent b718ccd commit 1a7ef5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ async fn run_matcher_websocket_server(
110110
tokio::spawn(async move {
111111
let ws_stream = accept_async(stream)
112112
.await
113-
.expect("Error during WebSocket handshake");
113+
.expect("Error during WebSocket handshake, port {matcher_ws_port}");
114114
matcher_websocket_clone.handle_connection(ws_stream).await;
115115
});
116116
}

Diff for: src/web/server.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub fn rocket(port: u16, order_book: Arc<OrderBook>) -> Rocket<Build> {
1515
let config = Config {
1616
address: Ipv4Addr::new(0, 0, 0, 0).into(),
1717
port,
18-
log_level: LogLevel::Critical,
18+
log_level: LogLevel::Normal,
1919
..Config::default()
2020
};
2121

0 commit comments

Comments
 (0)