In my restlet i have some `log.debug()` statements...
# general
e
In my restlet i have some
log.debug()
statements. Can I see them in a log somewhere? Script Execution log does not seem to show the output
n
Check the logging level on your deployment, it may be set to a higher level such as audit / error / system
e
Ahh, thanks. And the it should show in the Script Execution log?
The Deployment has LogLevel=Error, does that mean it will only log errors?
That worked 🙂 Thanks
p
FYI In general if log level is set to x we can see all logs with its level = and greater than x. i.e if it is set to error we can see both error and emergency logs.
e
So Debug is. the lowest log level then?
p
yeah
👍 1
n
Something to note, when a script is moved from testing to released the system changes the default logging to Error.
e
Ahh. Thanks
If a RestLet has status
testing
Can I still call it? I have never used that before
m
Copy code
testing
normally enables all scripts/ executions for the owner only. i don't know how it works for restlets and if you can reach them externally
i see in the docs that testing also enables it for the specified audience https://netsuite.custhelp.com/app/answers/detail/a_id/10562
e
Thanks 👍
m
after reading further it runs for the specified audience/roles 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