From 993f3724de98987e366e358fe622f2c6dc4747e6 Mon Sep 17 00:00:00 2001 From: simulot Date: Tue, 21 May 2024 22:22:51 +0200 Subject: [PATCH] Fix Display the path of log file name --- docs/releases.md | 13 +++++++++---- main.go | 1 + 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/releases.md b/docs/releases.md index c7f83ca4..a5087c2c 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -2,7 +2,11 @@ ## Release next -### fix [#215](https://github.com/simulot/immich-go/issues/215) Use XDG_CONFIG_HOME for storing config +### Fix Display the path of log file name + +The log file name is printed before the execution end. + +### Fix [#215](https://github.com/simulot/immich-go/issues/215) Use XDG_CONFIG_HOME for storing config The configuration file that contains the server and the key is now stored by default in following folder: - Linux `$HOME/.config/immich-go/immich-go.json` - Windows `%AppData%\immich-go\immich-go.json` @@ -26,9 +30,10 @@ This release is focussed the improvement of the user experience. ### A shiny user interface ``` -. _ _ _ _ . _|_ __ _ _ -|| | || | ||(_| | (_|(_) - version dev _) +. _ _ _ _ . _|_ _ _ +|| | || | ||(_| | ─ (_|(_) + v dev _) + ``` Working with big database and big takeout files take some time. Users are now informed about the progression of different tasks: diff --git a/main.go b/main.go index 87924793..baa2d2c9 100644 --- a/main.go +++ b/main.go @@ -125,5 +125,6 @@ func Run(ctx context.Context) error { if err != nil { log.Error(err.Error()) } + fmt.Println("\nCheck the log file: ", app.LogFile) return err }