From f60b912f122dfb2f6bcffae936788828fc9938b3 Mon Sep 17 00:00:00 2001 From: Rio Kierkels Date: Wed, 1 Jul 2020 17:54:48 +0200 Subject: [PATCH] feat(analytics): log if analytics are enabled --- meilisearch-http/src/main.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/meilisearch-http/src/main.rs b/meilisearch-http/src/main.rs index 997df92ac..ec211c6ae 100644 --- a/meilisearch-http/src/main.rs +++ b/meilisearch-http/src/main.rs @@ -129,6 +129,15 @@ pub fn print_launch_resume(opt: &Opt, data: &Data) { } ); + eprintln!( + "Amplitude Analytics:\t{:?}", + if !opt.no_analytics { + "Enabled" + } else { + "Disabled" + } + ); + eprintln!(); if data.api_keys.master.is_some() {