Skip to content

Commit

Permalink
Fix a bug in logging (file output) at scan command
Browse files Browse the repository at this point in the history
Log of localhost was not output to file. #301
  • Loading branch information
kotakanbe committed Jan 26, 2017
1 parent 883fe13 commit 5a10e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,10 @@ func (p *ScanCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{})
logrus.Debugf("%s", pp.Sprintf("%v", target))

// logger
c.Conf.LogDir = p.logDir
Log := util.NewCustomLogger(c.ServerInfo{})

c.Conf.ResultsDir = p.resultsDir
c.Conf.LogDir = p.logDir
c.Conf.CacheDBPath = p.cacheDBPath
c.Conf.SSHExternal = p.sshExternal
c.Conf.HTTPProxy = p.httpProxy
Expand Down

0 comments on commit 5a10e5c

Please sign in to comment.