diff options
author | Alex Auvolat <alex@adnab.me> | 2022-05-20 13:36:45 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-05-20 13:36:45 +0200 |
commit | a6e33aafea89ba86ac94bbc33a503f1ef5644828 (patch) | |
tree | b0a9a9eeaa33da1c1e840721c4849b2364471d96 /src/main.rs | |
parent | 3ac6896da966da3a73610cbe00c550e7ce4c0616 (diff) | |
download | aerogramme-a6e33aafea89ba86ac94bbc33a503f1ef5644828.tar.gz aerogramme-a6e33aafea89ba86ac94bbc33a503f1ef5644828.zip |
Fix things
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index dcdd335..a2630d6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -92,6 +92,11 @@ struct StorageCredsArgs { #[tokio::main] async fn main() -> Result<()> { + if std::env::var("RUST_LOG").is_err() { + std::env::set_var("RUST_LOG", "mailrage=info,k2v_client=info") + } + pretty_env_logger::init(); + let args = Args::parse(); match args.command { |