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

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Venkatesh,

Can you check the following server side components:

1) script include

2) business rules

3) script actions

4) schedule job

5) transform script

6) field map script

Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

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.

This is a huge help, I was getting pretty sick of searching script fields in a million different places - Thanks!

i tried, indeed it does find "most" but not all..

I get hundreds/thousands of these:

com.glide.script.RhinoEcmaError: "datediff" is not defined.
<refname> : Line(4) column(0)
1: (function calculatedFieldValue(current) {
2:
3: // Add your code here
==> 4: return datediff(current.resolved, current.created); // return the calculated value
5:
6: })(current);

 

as Source I see "Evaluator"... 

 

it will find (function calculatedFieldValue(current), but the function definition is NOT the one from the error log... 

searching just for return datediff returns nothing...