How to control logging in prod instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 05:46 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 05:53 AM
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 05:58 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 06:18 AM
Hi @Kishor O,
Refer below link
Mark it as helpful and solution proposed if it serves your purpose.
Thanks,
Anand