How to log from client.js

Hi!

I try to change some things in balena-cam service and therefore I work in local mode.
I can push with sudo balena push IP and even the service is running (can see the cam output in browser) but no logging messages with console.log from client.js are visible.
Not with balena logs IP nor with “Streaming device logs…” from push command.

Do I need something else to see the message from client.js?

Thank you!

Hi

  • Can you share the changes you made that resulted in this state?
  • Does a local push without making any changes to the code show the logs as expected?

Hopefully this info will help me recreate the issue locally so that we can work on a fix