Restlet is not showing my debug logs
# ask-stanley-ai
r
Restlet is not showing my debug logs
c
AI generated answer (using internal Slack threads):
****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** If your Restlet is not showing debug logs, it could be due to the logging level set on your deployment. The logging level may be set to a higher level such as audit, error, or system, which would not include debug logs. To see your debug logs, you need to ensure that the logging level on your deployment is set to 'Debug'. This is the lowest log level and includes all types of logs. Please note that when a script is moved from testing to released, the system changes the default logging to 'Error'. So, you might need to manually change it back to 'Debug' if you want to see debug logs. Also, if a Restlet has status 'testing', it normally enables all scripts/executions for the owner only. However, according to the NetSuite documentation, testing also enables it for the specified audience but only on the account of the script owner. So, you yourself can switch roles and test but another account won't be able to. For more information on how to debug scripts, you can refer to the SuiteScript Debugger documentation: SuiteScript Debugger
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.815114856
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.815004587
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.813441575
Please provide your feedback on this answer.