Improve binary names and output logs
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
This commit is contained in:
parent
f6539aab06
commit
f6d7a5fff2
3 changed files with 7 additions and 4 deletions
mount
|
@ -58,7 +58,7 @@ func (s *Handler) Mount(mpc *config.MountPoint) error {
|
|||
}
|
||||
|
||||
s.s.Add(mpc.Path, t)
|
||||
log.WithField("name", t.Name()).Info("torrent added")
|
||||
log.WithField("name", t.Name()).WithField("path", mpc.Path).Info("torrent added to mountpoint")
|
||||
|
||||
torrents = append(torrents, t)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue