aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2017-04-03 22:21:16 +0100
committerNiall Sheridan <nsheridan@gmail.com>2017-04-10 11:13:24 +0100
commit4e29aef6993d07ea9938af7152a28413c57334f1 (patch)
treea795a74eb8c889e9e504f7ac014ea5bcec651f44
parent684c610ac44113e572ebece5f186f0b66053c56e (diff)
don't log timestamps
-rw-r--r--cmd/cashier/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/cashier/main.go b/cmd/cashier/main.go
index 97747f3..f13b3ed 100644
--- a/cmd/cashier/main.go
+++ b/cmd/cashier/main.go
@@ -29,6 +29,8 @@ var (
func main() {
pflag.Parse()
+ log.SetPrefix("cashier: ")
+ log.SetFlags(0)
var err error
c, err := client.ReadConfig(*cfg)