Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

Commit

Permalink
use proper stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
DaneEveritt committed Nov 11, 2018
1 parent aaadc5b commit 6e8619b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package logger

import (
"go.uber.org/zap"
"os"
)

var sugar *zap.SugaredLogger
Expand All @@ -18,7 +17,7 @@ func Initialize(debug bool) (error) {

cfg.Encoding = "console"
cfg.OutputPaths = []string{
os.Stdout.Name(),
"stdout",
"./sftp-server.log",
}

Expand Down

0 comments on commit 6e8619b

Please sign in to comment.