aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjloup <jloup@jloup.work>2018-05-16 20:51:17 +0200
committerjloup <jloup@jloup.work>2018-05-16 20:51:17 +0200
commitecb0fb69652ab9545d08b12850e987f53918c110 (patch)
treeeeb5e0b4950f340151fda79be0b2e3cac80c4035
parent943b392b0d175a4e12b21eae984a0acd2719bd75 (diff)
downloadFront-ecb0fb69652ab9545d08b12850e987f53918c110.tar.gz
Front-ecb0fb69652ab9545d08b12850e987f53918c110.tar.zst
Front-ecb0fb69652ab9545d08b12850e987f53918c110.zip
Revert "Attempt fix systemd logs."v0.0.18
This reverts commit 943b392b0d175a4e12b21eae984a0acd2719bd75.
-rw-r--r--api/logger.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/api/logger.go b/api/logger.go
index 11536e8..5f49d29 100644
--- a/api/logger.go
+++ b/api/logger.go
@@ -50,8 +50,7 @@ func Logger() gin.HandlerFunc {
50 level = logrus.ErrorLevel 50 level = logrus.ErrorLevel
51 } 51 }
52 52
53 errors := c.Errors 53 errors := c.Errors.ByType(gin.ErrorTypePrivate)
54 log.Infof("TMP %s '%v'", msgLog, errors)
55 54
56 for _, err := range errors { 55 for _, err := range errors {
57 l.Logf(level, "%s: %s", msgLog, err.Err) 56 l.Logf(level, "%s: %s", msgLog, err.Err)