Setting Script Execution Log Levels

In the Log Level field on the Script Deployment page, specify which log entries you want to appear on the Execution Log tab:

The Script Deployment page setting the Log Level to Debug.

The Log Level field is essentially used as a basic filtering mechanism. Each log entry written with N/log Module methods specifies a log level based on the specific method used: log.audit(options), log.debug(options), log.emergency(options), log.error(options).

Set filtering by selecting one of the following log levels from the Log Level field:

Important:

NetSuite governs the amount of logging that can be done by a company in any 60 minute time period. For complete details, see Governance on Script Logging.

Note:

The log level you specify on the Script Deployment page is independent of any error handling within your script.

See Using the Script Execution Log Tab for details on how to further customize your view of all log entries.

General Notices