When you set the deployment to release the log cha...
# suitescript
a
When you set the deployment to release the log change from debug to error then you have to write your log messages like log.error()