What is the node logs ? How to debug node logs ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 10:14 PM
I came across situation where I need to debug code in details. Could you explain how can I debug the node logs ? Please share best practices.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 11:02 PM
no it not a staging table we are using inbound API fo it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 02:09 AM - edited 03-19-2024 02:10 AM
Hi @jay97
Along with the KB shared by @Jaspal Singh. You can check the SN best practices recommended for debugging the log. It walk through in length and covers all below which might be very helpful for your use case.
- Reviewing Warnings and Errors
- Checking Log File Sizes
- Diagnosing Problems with Slow SQL Statements
- Managing Queues
- Managing Event Logs
Viewing Log Detail
To review a system log file in detail:
- Log in to the instance with the admin role.
- Navigate to System Logs > Node Log File Download.
- Click the name of the log file you want to download.
- Under Related Links, click Download log.
- When the file is saved to your local machine, review the log in a text editor.
Search for these messages, which may indicate potential issues:
- Slow evaluate
- Slow Business Rule
- Recursive Business Rule
- Compiler exception
- Warning - large table limit
- Extremely large result
Might be these two article will further help you with more information, open the ServiceNow Knowledge Base and access the following two articles: