What is the node logs ? How to debug node logs ??

jay97
Tera Contributor

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.

6 REPLIES 6

no it not a staging table we are using inbound API fo it.

Community Alums
Not applicable

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:

 

  1. Log in to the instance with the admin role.
  2. Navigate to System Logs > Node Log File Download.
  3. Click the name of the log file you want to download.
  4. Under Related Links, click Download log.
  5. 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:

  • For troubleshooting inbound email, see KB0524472.
  • For troubleshooting outbound email, see KB0521382.