How to control logging in prod instance

Kishor O
Tera Sage

Hello All,

 

How we can control system logging in the servicenow prod instance to improve system performance?

*Can anyone suggest to me the way to do it?

 

Thanks,

Kishor 

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

 Hi @Kishor O 

 

What do you mean by the  system logging in the servicenow prod instance?

do you want to restrict user or what?

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Sonam_Tiwari
Kilo Sage

Hey - 

 

Check out this articles - https://www.servicenow.com/community/in-other-news/preserve-performance-by-halting-excessive-logging...
https://www.servicenow.com/community/developer-forum/health-scan-minimize-logging-in-prod/m-p/278376...
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0996035
https://www.servicenow.com/community/developer-articles/instance-performance-maintenance-and-adminis...


Here are some general steps to control system logging in a ServiceNow production instance:

 

Check the various log levels and set the log level to minimum in your prod.

 

  • Review the different log levels available, such as Debug, Info, Warn, and Error.
  • Regularly purge old log records to free up database space and improve performance if doable.

     

  • If you have custom scripts or business rules that generate logs, review them to ensure that logging is done in a appropriate way. Minimize the use of unnecessary log statements in scripts, and only log information that is essential for troubleshooting or auditing.
Consider indicating the response as helpful and marking it as correct if it meets your needs.

Anand Kumar P
Giga Patron
Giga Patron

Hi @Kishor O,

Refer below link 

 https://www.servicenow.com/community/platform-privacy-security/time-limited-authentication/ta-p/2493...

Mark it as helpful and solution proposed if it serves your purpose.
Thanks,
Anand