The server logs
This section covers how to use the Server Logs for debugging your app
Last updated
This section covers how to use the Server Logs for debugging your app
Last updated
While the Debugger lets you to test and debug the current situation, server logs enable you to explore issues in the past. This is useful both to check the results of changes that you made during testing, and for looking at what actually happened when a live user experienced an issue.
Keep in mind that the server logs for Development and Live are separate. If you have created any custom branches using , they are still contained within the Development and Live environments.
To access the server logs, do the following:
Click on the Logs tab
Then the Server logs section
The logs let you search for log entries with the following constraints
Start/end time lets you enter a time range for the event(s) you are looking for.
User email lets you constrain the search by the user who initiated the events.
Contains is a freetext field that lets you search for the workflow label to narrow it down further.
In addition to the main filters above, clicking the Advanced button gives you access to an extended list of filters.
Started running workflow
Action condition failed
Autobinding operation
Scheduled task completed
Sending email failed
Event condition passed
Finished running action
Plugin server side output
HTTP request
Event condition not passed
Finished running workflow
Plugin server side error
HTTP response
Running action
Workflow error
Scheduled task to run
Combined, these tools create a comprehensive toolset to refining your search and zeroing in on the issue
If you are searching through an app with a lot of activity, searching through logs can be time-consuming and potentially time out if the amount of data is too big. If you experience this, we recommend narrowing down the timeframe in which to search.
Each workflow consists of several steps in the log:
one for the event:
one for the condition on the event (even if empty)
one for each action step.
Unless you are very specific with your constraint, most log searches will return a long list of results (especially if you are searching in an app with active users). To isolate one workflow and see all the steps logged in that workflow, you can use the Zoom on this workflow feature:
The Server Logs section in the Logs tab allows searches of the log of server-side actions, such as send email or change data, executed when users interacted with the app. Search for a particular user by email or ID, within certain dates, or specific keywords.
Note that server logs depend on the version of your app, so you should make sure you are focusing on the version where the issue was reported (Live versus Development).
To search logs, you need to define the starting and the ending dates of the search. Searching logs can take some time, and the Editor will display entries as they arrive. When you already see some results and scroll down, the editor will fetch more entries (and the caption of the search button will change according to the situation).
If your app has a lot of traffic, you'll see a lot of logs. It is useful to narrow down the search by using some search criteria. The most common criteria you can use when searching for logs is picking the type of events you're interested in.
Workflow starts: shows all initiated workflows that run on the server, whether the condition is met and the workflow is executed, or not.
Passed events: shows all workflows that run after the condition evaluated to yes.
Non-passed events: shows all workflows that didn't run after the condition evaluated to no. This is useful as you try to debug something that didn't happen.
Actions: only shows actions, and not the events that led to this action's execution.
Errors: shows server-side errors that happened when executing a workflow. For instance, a credit card failure, or a send email failure. This will be especially useful to diagnose issues.
Tip
If your app has a lot of activity, chances are it has a lot of logs. If you're searching through the logs and the query is slow or timing out, try narrowing the time window of your search.
When you search for logs, if you have more information about the problematic workflows, you can narrow down the search even more by searching for specific users and terms. The first input lets you enter a user's email or a user's unique ID. When this is filled, the search will only return workflows started by this user.
The last box lets you type a string that you want to search for. If an action has a property that evaluated to some text and if you search for this text, the workflow will be retrieved. For instance, if you know an email was sent with the text 'Boston' in it, searching for 'Boston' will return the Send Email action.
After the results are retrieved, they will appear in descending order, with the most recent ones displayed first.
For each entry, you will see the following details:
Action/event name: this name reflects the label on the action/event of the workflow.
User email: the email of the user who initiated the workflow. If the user isn't signed up, the field will show Anonymous user)
User ID: the unique ID of the user who initiated the workflow.
Timestamp: the date and time of the logged event/action
Message/properties: properties for this event/action, or any error message(s)
Clicking on a step in the Log takes you directly to the workflow editor for the relevant event or action in that log entry: