Need to find Source of the log message

venkateshdhanap
Tera Contributor

Hi All,

I am getting more than 6 crore log message entry for single log message. I have forgot where I have put this log. I have checked in the customer updates table "sys_update_xml" payload contains that log message but no records found. Is there any way to find the log message's source in servicenow?

 

Thanks in Advance!!!!

 

1 ACCEPTED SOLUTION

Daniele Songini
Tera Guru

Open Studio and open any application.
In the upper right corner you find 'code search'.

check 'Search in all applications', and search.

With this you should find everything.

View solution in original post

6 REPLIES 6

This seems like a good technique in most cases, although I found that Studio wasn't searching the Metric Definition table. I had a script that was printing excessive log messages, and I was able to search the sys_update_xml table as described in the question, and I was able to trace it back to Metric Definitions.

 

TL;DR

Somewhere you may consider looking if you haven't found what you're looking for is the scripts in the Metric Definition table.

Daniele Songini
Tera Guru

Did you find what you were looking for?

Please mark this as "Correct Answer" if I have given you a sufficient answer to your question.

Best Regards,
Daniele