I have issues with Multiline stack traces (.net) with whitespace. logs are getting split and we are not able to troubleshoot the things its more time consuming.
I tried the fix from ES-stack website
but after applying the changes we are still getting the split logs with whitespace.
[inf]:Serilog.AspNetCore.RequestLoggingMiddleware:[0HM30SF3H6IAF:00000001]:ssgdft-1887-483e-ba2c-2ee2fdfd64bb HTTP GET /v1/tenants/2000056/apps responded 200 in 1.6669 ms
[inf]:ABC.ServiceManagement.Common.Apps.ExceptionHandling.ExceptionHandler:[0HM30SF3H6IAJ:00000001]:052f2644-66ed-45fc-94bc-6da5bada0ef8 {"message":"Quota type 'maxAccumulatedDay' cannot be found for tenant 99"}
ABC.ServiceManagement.Common.Apps.Exceptions.NotFoundException: Quota type 'maxAccumulatedDay' cannot be found for tenant 99
---> ABC.EntitlementService.Exceptions.CapacityTypeNotFoundException: Quota type 'maxAccumulatedDay' cannot be found for tenant 99
at ABC.EntitlementService.Handlers.QuotaEntitlementHandler.GetTotalQuotaValueAsync(String tenantId, String capacityType, String productCode)
at ABC.EntitlementService.Controllers.v1.QuotaEntitlementController.GetTotalQuotaValueAsync(String tenantId, String capacityType, String productCode) in /opt/source/service-management/ABC.EntitlementService/src/Controllers/v1/QuotaEntitlementController.cs:line 68
--- End of inner exception stack trace ---
at ABC.EntitlementService.Controllers.v1.QuotaEntitlementController.GetTotalQuotaValueAsync(String tenantId, String capacityType, String productCode) in /opt/source/service-management/ABC.EntitlementService/src/Controllers/v1/QuotaEntitlementController.cs:line 68
at lambda_method(Closure , Object )
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.