# Trouble with Logging

**URL:** <https://forum.genieacs.com/t/trouble-with-logging/2225>\
**Category:** Uncategorized\
**Created:** [December 8, 2021, 6:54pm UTC](https://forum.genieacs.com/t/trouble-with-logging/2225 "2021-12-08T18:54:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jim-IFN](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@Jim-IFN](https://forum.genieacs.com/u/Jim-IFN)\
**Post date:** [December 8, 2021, 6:54pm UTC](https://forum.genieacs.com/t/trouble-with-logging/2225/1 "2021-12-08T18:54:41Z")

</div>

Hello all:  
I’m trying to write some integrations to be fired on boot, and as the first step in troubleshooting and making sure our scripts are running, I’m attempting to log a message (TESTING) to ensure we can find our output and verify our scripts are running.

Unfortunately, we cannot find our log anywhere. I can find the genieacs.cwm.access.log, and I can see an entry for my test serial number do an inform with 1 BOOT category, but I never see my log output.

Here’s my bootstrap code:

```auto
const now = Date.now();

//let serialNumber = declare("DeviceID.SerialNumber", {value: 1}).value[0];

//let config = ext('VISPSerial','main',serialNumber);
clear("Device", now);
clear("InternetGatewayDevice", now);

console.log("TEST");
```

I have under presets both the stock 0 BOOTSTRAP entry and another one for 1 BOOT linked to that provision:  
￼ Boot boot 0 1 BOOT bootstrap Show

Not really sure where to go from here…Is there something that needs to be turned on for logging to work correctly?

BTW: we’ve tested it with both console.log() and just log()

Thanks!  
–Jim

---

<div class="post-metadata">

**Author:** ![ianbmacdonald](https://avatars.discourse-cdn.com/v4/letter/i/b2d939/32.png) [@ianbmacdonald](https://forum.genieacs.com/u/ianbmacdonald)\
**Post date:** [December 8, 2021, 8:29pm UTC](https://forum.genieacs.com/t/trouble-with-logging/2225/2 "2021-12-08T20:29:21Z")

</div>

If it is not working, then you must have some sort of environment issue. Below is a cut n paste of a working entry.

`log('Device_Eval: Reached End of Script');`
