Skip to content

Commit

Permalink
print message of where log will be written
Browse files Browse the repository at this point in the history
closes #1472
  • Loading branch information
extrawurst committed Feb 17, 2023
1 parent ba9b6d6 commit 9d25651
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
2 changes: 2 additions & 0 deletions src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 9d25651

Please sign in to comment.