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 - LNG
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?

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.

Anand Kumar P
Tera 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