Skip to content

Commit 5c804d9

Browse files
committed
log lever Critical
1 parent 1a7ef5d commit 5c804d9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

shell.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ in pkgs.stdenv.mkDerivation rec {
2121
shellHook = ''
2222
export OPENSSL_DIR="${merged-openssl}"
2323
24-
export RUST_LOG=info
25-
FILE_LOG_LEVEL="info"
26-
CONSOLE_LOG_LEVEL="info"
24+
export RUST_LOG=debug
25+
FILE_LOG_LEVEL="debug"
26+
CONSOLE_LOG_LEVEL="debug"
2727
echo "RUST_LOG is set to $RUST_LOG"
2828
2929
echo "middleware environment is ready."

src/web/server.rs

Lines changed: 1 addition & 1 deletion
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::Normal,
18+
log_level: LogLevel::Critical,
1919
..Config::default()
2020
};
2121

0 commit comments

Comments
 (0)