By drache42 - 22 Nov 2019
I'm using the json parser to parse our error logs. However, the "Exception" grid box only shows part of the stack trace. I assume this is because our stack trace has a "--- End of stack trace from previous location where exception was thrown ---" in it. Is it possible to show the entire stack trace?
Example log message
{ "Timestamp": "2019-10-15T00:35:44.3260673+00:00", "Level": "Error", "MessageTemplate": "Unexpected error getting license from server", "RenderedMessage": "Unexpected error getting license from server", "Exception": "System.ArgumentException: Failed to parse version info. Unknown product version.\nProduct version: \"2019.4.0\"\nREST API version: \"3.6\"\r\nParameter name: version\r\n at Tableau.PowerTools.Server.Interfaces.TableauServerVersion.FromRestApiServerVersion(IServerInfoVersion version)\r\n at Tableau.PowerTools.Server.Rest.RestApiConnection.<ConnectAsync>d__17.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Tableau.PowerTools.Server.TableauServerConnection.<ConnectAsync>d__16.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Tableau.PowerTools.Server.TableauServerConnection.<ConnectAsync>d__17.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Tableau.PowerTools.Server.Interfaces.TableauServerClient.<ConnectAsync>d__8.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Tableau.PowerTools.Server.Licensing.TableauRestApiLicensing.<>c__DisplayClass6_0.<<GetServerLicenseAsync>g__GetFromServerAsync|2>d.MoveNext()", "Properties": { "SourceContext": "Tableau.PowerTools.Server.Common, Version=2019.3.1.0, Culture=neutral, PublicKeyToken=null", "0": "http://172.31.19.245/", "1": "eblankers", "Scope": [ "ImportunateTaskRunner starting task: StatusChangeDetection", "Connecting to Tableau Server for license check. Server: \"http://172.31.19.245/\", Username: \"eblankers\"" ], "ProcessId": 10560, "ThreadId": 123, "PTTaskDesc": "StatusChangeDetection", "PTCorrelationId": "e35abbb3-427a-4222-8af8-549ac75ac473" } }
Shows up like attached screenshot
|
By LogViewPlus Support - 23 Nov 2019
Thanks for the detailed bug report.
You can change the amount of data shown in the grid. Please see the grid view settings described here: https://www.logviewplus.com/docs/view.html
Most of the grid settings have application defaults which can be set here: https://www.logviewplus.com/docs/log_entry_display.html
For large log entries, LogViewPlus will not necessarily show all information in the grid. We use the grid to summarize information about a log entry so you can decide if you want to know more. If you select the row, you can always see the full entry in the text area below the grid.
Hope that helps. Please let me know if you have any further questions or issues.
Thanks,
Toby
|
By drache42 - 25 Nov 2019
Wonderful, that's exactly what I needed. Thank you
|
By LogViewPlus Support - 25 Nov 2019
Glad to hear it - thanks for letting me know!
Toby
|
|