Virtual parameters

Zaid Abdulla zaid at genieacs.com
Wed Feb 22 15:35:24 EST 2017


On Wed, 2017-02-22 at 06:51 -0900, Dan Morphis wrote:
> Is there any way to log values inside the script? I tried
> console.log, and let logger = require('./logger'); to no avail.

Virtual parameter and provision scripts are sandbox and don't have
access to any Node.js functions. I plan to expose a log function for
use from scripts, but for now see the patch for a quick and dirty hack.

-- 
Zaid Abdulla <zaid at genieacs.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sandbox-debug.patch
Type: text/x-patch
Size: 646 bytes
Desc: not available
URL: <http://lists.genieacs.com/pipermail/users/attachments/20170222/0b3f289d/attachment.bin>


More information about the Users mailing list