From 90011d16badfaa9b17eff2d39143609b84399208 Mon Sep 17 00:00:00 2001 From: gempir Date: Sat, 3 Mar 2018 08:39:46 +0100 Subject: [PATCH] regex adjusted to fix timestamp --- api/logs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/logs.go b/api/logs.go index 5057b77..c2f296a 100644 --- a/api/logs.go +++ b/api/logs.go @@ -17,7 +17,7 @@ import ( ) var ( - logReg = regexp.MustCompile(`(\[.*\])\s(.*):\s(.*)`) + logReg = regexp.MustCompile(`\[(.*)\]\s(.*):\s(.*)`) ) // ErrorJSON simple json for default error response