<div dir="ltr">Hmmm, I think there is something wrong with my setup. I have a virtual param called "mac" that consists of<div><div><font face="monospace, monospace">log("foobar");</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">return {writable: false, value: ['UNKNOWN', "xsd:string"]};</font></div></div><div><br></div><div>I do not see the value for VirtualParameters.mac showing under the device parameters list for a CPE, I also don't see "foobar" in the console for the cwmp.</div><div><br></div><div>-dan</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 26, 2017 at 2:26 PM, Zaid Abdulla <span dir="ltr"><<a href="mailto:zaid@genieacs.com" target="_blank">zaid@genieacs.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, 2017-02-24 at 07:30 -0900, Dan Morphis wrote:<br>
> I patched lib/sandbox.js but I'm either not understanding how to call<br>
> the debug func, or there is something not working.<br>
<br>
</span>I just added a function for logging from within scripts so you can<br>
ignore that patch. Here's how to use it:<br>
<br>
  log("Some log message"[, {optionalMeta: "some value"}]);<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Zaid Abdulla <<a href="mailto:zaid@genieacs.com">zaid@genieacs.com</a>><br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/<wbr>mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div></div>