From 606ce280ba3fda1da53f9ee01b4762ce742c3d99 Mon Sep 17 00:00:00 2001 From: Elmar Kresse Date: Mon, 7 Oct 2024 00:17:03 +0200 Subject: [PATCH] fix:#56 removed ip logs from ical service --- services/ical/main.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/services/ical/main.go b/services/ical/main.go index e0a4d10..6a21cef 100644 --- a/services/ical/main.go +++ b/services/ical/main.go @@ -69,7 +69,12 @@ func main() { DataManagerURL: "http://" + host + ":8090", } - fiberApp.Use(logger.New()) + fiberApp.Use(logger.New( + logger.Config{ + Format: "${time} | ${status} | ${latency} | ${method} - ${path} | ${error}\n", + TimeFormat: "02-Jan-2006 15:04:05", + }, + )) // Add routes to the app instance for the data-manager ical service service.AddFeedRoutes(app)