better better logging

This commit is contained in:
A.Unger
2020-02-12 14:11:25 +01:00
parent ba8e60a714
commit d858fb3c77
2 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ type Store struct {
// New creates a new store
func New(cfg *config.Config) account.Manager {
s := Store{
Logger: olog.NewLogger(olog.Name("ocis-accounts")),
Logger: olog.NewLogger(olog.Name(cfg.Server.Name)),
}
dest := filepath.Join(cfg.MountPath, StoreName)