Ankur Bawiskar
Tera Patron

@Neelavathi M 

Don't use gs.log() as it doesn't work in scoped app, please use gs.info()

check these blogs

Community Code Snippets: Using a System Property to Control Logging 

Managing syslog Growth in ServiceNow 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

View solution in original post