diff --git a/handlers/upload/handler.go b/handlers/upload/handler.go index 1291b8e..544a66e 100644 --- a/handlers/upload/handler.go +++ b/handlers/upload/handler.go @@ -55,7 +55,7 @@ func postUploadFile(w http.ResponseWriter, r *http.Request, a services.IAuthenti } filename := uf.File.Value.GetFilename() - log.Info().Str("filename", filename).Msg("file is uploading...") + log.Info().Str("filename", filename).Msg("file uploaded") resource := uf.IntoResource() diff --git a/services/store.go b/services/store.go index b25d177..7ef4f5d 100644 --- a/services/store.go +++ b/services/store.go @@ -157,6 +157,8 @@ func NewStore(dir string) *Store { } s.init(dir) + + log.Info().Str("dir", s.dir).Msg("store initialized") return s }