Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Log levels and debugging
The nlapiLogExecutionNote() API has log types of audit, debug, error, emergency. Is there any way to set the log level from a script/record/global perspective? For example, I want to put a bunch of debug statements in the script, but want to set the log level to error (say only error and emergency logs are displayed) and don't want these statements to show up in production unless the user specifically sets this setting to debug.
This is like any other standard logging interface. Is this already available? If not, is it planned?
Thanks
Jan
0