From 077a6e46c4d0615a65c994bb9e9985cfd6c15db2 Mon Sep 17 00:00:00 2001 From: Radu Matei Date: Thu, 12 Apr 2018 17:00:18 +0300 Subject: [PATCH] Update logs --tail to use the new log directory --- cmd/draft/logs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/draft/logs.go b/cmd/draft/logs.go index 3db3848..7654401 100644 --- a/cmd/draft/logs.go +++ b/cmd/draft/logs.go @@ -88,7 +88,7 @@ func (l *logsCmd) dumpLogs() error { } func (l *logsCmd) tailLogs(offset int64) error { - t, err := tail.TailFile(filepath.Join(l.home.Logs(), l.buildID), tail.Config{ + t, err := tail.TailFile(filepath.Join(l.home.Logs(), l.appName, l.buildID), tail.Config{ Location: &tail.SeekInfo{Offset: -offset, Whence: os.SEEK_END}, Logger: tail.DiscardingLogger, Follow: true,