Viewing Chat Error Logs
The purpose of this document is to explain the different options that you have to show and view the Language IO Chat Error Log records. Error logs are created when a situation occurs that throws an error during a chat translation. This is known as an "error thrown".
Viewing error logs is a feature available in Language IO Chat from version 2.41 and later.
Important: If you are not an administrator, and have an open chat session that is throwing an error, you must have the following permissions to create error logs.
- Full access (create, read, edit, delete) for the
LinguistNowLiveAgentErrorLog__ccustom object - Edit access to all the custom fields for the
LinguistNowLiveAgentErrorLog__ccustom object: Chat_Transcript__c, Chat_Transcript_Name__c, Logs__c.
Contact your Salesforce administrator to add these permissions to the "Language IO Chat User" permission set.
There are three methods to view the error logs:
- Display the logs as a related list in the chat transcript layout
- Add the Chat Error Logs as a custom object in the Service Console utility
- Query Chat Error Logs from the Developer Console
Display the logs as a related list in the chat transcript layout
The first method is to add the Chat Error Logs as a related list on the Live Chat Transcript Layout. This shows the error logs in your Chat window. To do so, follow these steps:
- Go to Setup > Object Manager
- Search for Chat Transcript and open the Chat Transcript object:
- Go to Page Layouts:
- Open the page layout where you want to show the Error Logs.
- Click on Related Lists:
- Drag and drop the Language IO Chat Error Logs related list to the layout:
- Click Save.
- Go to Lightning Record Pages:
- Click on the page where you want to add the Error Logs and click on Edit:
- Drag and drop a "Related List - Single" component on the lightning page:
- For the component configuration, the parent record should be set to ‘Use This Chat Transcript’ and the Related List should be ‘Language IO Chat Error Logs’:
- Click Save.
Add the Chat Error Logs as a custom object in the Service Console utility
This method makes it possible to access the Error Logs from the Service Console menu. Too configure this, follow these steps:
- First, create a tab for the Language IO Chat Error Logs custom object:
- Go to Setup > Tabs:
- Click on New
- In the Object dropdown menu, select Language IO Chat Error Logs, then a tab style, then click Next:
- Select a user profile and click Next.
- Define the visibility of your new tab: select Service Console and any other app to which you want to give access to this tab:
- Click Save.
- Go to Setup > Tabs:
- View the Language IO Chat Error Logs in the Service Console:
- Go to Setup > Service Console
- You should see the new option in the dropdown menu:
Query Chat Error Logs from the Developer Console
- Open the Developer Console:
- Open the Query Editor tab in the lower part of the screen:
- Type your query. You can request all error logs or only a specific chat, for example:
SELECT Id, LanguageIOLA__Chat_Transcript_Name__c, LanguageIOLA__Logs__c, CreatedDate FROM LanguageIOLA__LinguistNowLiveAgentErrorLog__c WHERE LanguageIOLA__Chat_Transcript_Name__c = '00001676' - Click Execute to see the result of the query: