/
Wayfast Error Logs

Wayfast Error Logs

Context

A fundamental part of developing applications is debugging and troubleshooting issues.

Wayfast provides Logs for troubleshooting purposes so in case of a failure developers can take the tracking ID reported by Wayfast error screen and query the logs filtering by request ID.

How to query logs in Wayfast?

Here you have an example for getting Log details using a tracking id reported by wayfast error message screen.

LogRequest is a header that maps to a PageRequest.

LogRequestDetail can contain multiple details including invents triggered by a PageRequest associated to that request header log.

You join both tables with the RequestID field.

Example for querying LogRequest table:

SELECT TOP 100 LogId, Requesttype, RequestID, SessionId, Date, Type, Message, Detail, UserId, Host, ProjectName, PageName FROM WayfsatSQL.Wayfast.dbo.LogRequest WHERE CAST (date as Date) = '20230726' ORDER BY logid DESC

 

Example for querying LogRequestDetail table:

SELECT DetailID,LogID,Type,Key,Value,Extra,Duration,Parameters FROM WayfastSQL.Wayfast.dbo.LogRequestDetail WHERE LogID = 17887934

 

 

Related content

Wayfast Usage and Performance Logs
Wayfast Usage and Performance Logs
More like this
DB Documentation
DB Documentation
More like this
Query Analyzer (Draft)
Query Analyzer (Draft)
More like this
Tracking DB changes
Tracking DB changes
More like this