From 41f1d3c8ccc98d7d881ceae55df7591f1c7124c1 Mon Sep 17 00:00:00 2001 From: Yang Chun Ung Date: Mon, 9 Sep 2024 14:00:34 +0900 Subject: [PATCH] Add log timestamp --- ArenaService/ArenaService/appsettings.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ArenaService/ArenaService/appsettings.json b/ArenaService/ArenaService/appsettings.json index 10f68b8..1f49c43 100644 --- a/ArenaService/ArenaService/appsettings.json +++ b/ArenaService/ArenaService/appsettings.json @@ -3,6 +3,12 @@ "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" + }, + "Console": { + "FormatterName": "simple", + "FormatterOptions": { + "TimestampFormat": "[yyyy-MM-dd HH:mm:ss] " + } } }, "AllowedHosts": "*"