From 68b4e5aa46fb89c25688a81fee98ff0c6703a10c Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 9 Oct 2018 21:29:47 +0000 Subject: [PATCH] --- devdocs/todo.txt | 7 ------- server/AyaNova/Controllers/AuthController.cs | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/devdocs/todo.txt b/devdocs/todo.txt index 84178fc0..822613ac 100644 --- a/devdocs/todo.txt +++ b/devdocs/todo.txt @@ -28,13 +28,6 @@ Once that is done then can steam ahead on the biz objects but until I have the c IMMEDIATE ITEMS: ================ - - Auto visible id number assigning code - - Ensure search code process keywords includes the Visible ID value andadd test for that in Search indexing tests - - Remove validation index from awidget table that was only for testing uniqueness of serial field - - - Why are exceptions that are triggered intentionally in intengration tests showing in the console? - - Shouldn't that shit log only to text file?? - - Does it matter even though? - LOGIN logging, seems like too much, maybe drop it down a level into a diagnostic level? Or an option to be turned on? THIS: 2018-10-04 11:50:29.8943|INFO|AyaNova.Api.Controllers.AuthController|User number "7" logged in from "::ffff:127.0.0.xxx" ok diff --git a/server/AyaNova/Controllers/AuthController.cs b/server/AyaNova/Controllers/AuthController.cs index 3c329986..6982e9ee 100644 --- a/server/AyaNova/Controllers/AuthController.cs +++ b/server/AyaNova/Controllers/AuthController.cs @@ -131,7 +131,7 @@ namespace AyaNova.Api.Controllers string token = Jose.JWT.Encode(payload, secretKey, Jose.JwsAlgorithm.HS256); - log.LogInformation($"User number \"{u.Id}\" logged in from \"{Util.StringUtil.MaskIPAddress(HttpContext.Connection.RemoteIpAddress.ToString())}\" ok"); + log.LogDebug($"User number \"{u.Id}\" logged in from \"{Util.StringUtil.MaskIPAddress(HttpContext.Connection.RemoteIpAddress.ToString())}\" ok"); metrics.Measure.Meter.Mark(MetricsRegistry.SuccessfulLoginMeter); return Ok(new ApiOkResponse(new {