AUTH-2815 flag check was wrong. stupid oversight

This commit is contained in:
Dalton 2020-06-16 16:18:24 -05:00
parent 7b2f286210
commit 425554077f
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ func createLogger(c *cli.Context, isTransport bool) (logger.Service, error) {
loggerOpts := []logger.Option{}
logPath := c.String("logfile")
if logPath != "" {
if logPath == "" {
logPath = c.String(logDirectoryFlag)
}