summaryrefslogtreecommitdiffstats
path: root/rust/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/bin/fatcatd.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/src/bin/fatcatd.rs b/rust/src/bin/fatcatd.rs
index ccce6725..2c8614c2 100644
--- a/rust/src/bin/fatcatd.rs
+++ b/rust/src/bin/fatcatd.rs
@@ -49,6 +49,8 @@ fn main() -> Result<()> {
let drain = slog_term::CompactFormat::new(decorator).build().fuse();
let drain = slog_async::Async::new(drain).build().fuse();
let logger = Logger::root(drain, o!());
+ let _scope_guard = slog_scope::set_global_logger(logger.clone());
+ let _log_guard = slog_stdlog::init().unwrap();
let formatter = DefaultLogFormatter;
// sentry exception handling