diff options
author | Nick White <git@njw.name> | 2019-09-12 16:55:43 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2019-09-12 16:55:43 +0100 |
commit | f0b9f708496bb5335102846b65c1880596ee2ad3 (patch) | |
tree | 948dbd5fbc640575f43d8279ca7e805d1e306082 /bookpipeline/cmd/bookpipeline/main.go | |
parent | 3679eaaa31ff1b4278398d22a88491996e8c18d7 (diff) |
Don't prefix date/time to logs, as logger will store that anyway
Diffstat (limited to 'bookpipeline/cmd/bookpipeline/main.go')
-rw-r--r-- | bookpipeline/cmd/bookpipeline/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bookpipeline/cmd/bookpipeline/main.go b/bookpipeline/cmd/bookpipeline/main.go index 1c2592b..610b969 100644 --- a/bookpipeline/cmd/bookpipeline/main.go +++ b/bookpipeline/cmd/bookpipeline/main.go @@ -355,10 +355,10 @@ func main() { var verboselog *log.Logger if *verbose { - verboselog = log.New(os.Stdout, "", log.LstdFlags) + verboselog = log.New(os.Stdout, "", 0) } else { var n NullWriter - verboselog = log.New(n, "", log.LstdFlags) + verboselog = log.New(n, "", 0) } origPattern := regexp.MustCompile(`[0-9]{4}.jpg$`) // TODO: match alternative file naming |