summaryrefslogtreecommitdiffhomepage
path: root/src/logger.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-08-01 12:14:38 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-08-01 12:15:20 +0200
commitb03a6ab1b1ef422d832a5451312ecae1363fa171 (patch)
treef40c86a1d23a8efc823df28035445888b0e05a49 /src/logger.go
parentd7a49b8b8c43d92fd601d32b2f5130d2dabbc748 (diff)
Close UAPI socket before exit
Diffstat (limited to 'src/logger.go')
-rw-r--r--src/logger.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logger.go b/src/logger.go
index 827f9e9..9fe73b4 100644
--- a/src/logger.go
+++ b/src/logger.go
@@ -40,11 +40,11 @@ func NewLogger(level int) *Logger {
logger.Info = log.New(logInfo,
"INFO: ",
- log.Ldate|log.Ltime|log.Lshortfile,
+ log.Ldate|log.Ltime,
)
logger.Error = log.New(logErr,
"ERROR: ",
- log.Ldate|log.Ltime|log.Lshortfile,
+ log.Ldate|log.Ltime,
)
return logger
}