Improve client logging.
This commit is contained in:
@@ -2,7 +2,6 @@ package database
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log/slog"
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
@@ -24,7 +23,7 @@ func (d *database) configureDBPath() error {
|
||||
|
||||
d.dbPath = filepath.Join(rootDir, "database.sqlite3")
|
||||
|
||||
slog.Info("Database path configured.", "path", d.dbPath)
|
||||
d.logger.Info("Database path configured.", "path", d.dbPath)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user