diff --git a/CHANGELOG.md b/CHANGELOG.md index ed8f5b4213..ccc296d45c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * allow `fetch` on status tab [[@alensiljak]](https://github.com/alensiljak) ([#1471](https://github.com/extrawurst/gitui/issues/1471)) * allow reset (soft,mixed,hard) from commit log ([#1500](https://github.com/extrawurst/gitui/issues/1500)) * allow `copy` file path on revision files and status tree [[@yanganto]](https://github.com/yanganto) ([#1516](https://github.com/extrawurst/gitui/pull/1516)) +* print message of where log will be written if `-l` is set ([#1472](https://github.com/extrawurst/gitui/pull/1472)) ### Fixes * commit msg history ordered the wrong way ([#1445](https://github.com/extrawurst/gitui/issues/1445)) diff --git a/src/args.rs b/src/args.rs index f67f815850..b95f1e780c 100644 --- a/src/args.rs +++ b/src/args.rs @@ -129,6 +129,8 @@ fn setup_logging() -> Result<()> { let mut path = get_app_cache_path()?; path.push("gitui.log"); + println!("Logging enabled. log written to: {path:?}"); + let _ = WriteLogger::init( LevelFilter::Trace, Config::default(),