Skip to content

[Feature Request] Redirect node process stdout to a log file #25

@dcyoung

Description

@dcyoung

Currently the modifications to the /etc/rc.local file launch the node webapp on start, like so:

su pi -c 'node /home/pi/code/scanse/sweep-3d-scanner/app.js < /dev/null &'

This leaves the stdout printing to the terminal. When using a monitor+keyboard on the pi, the stdout is visible and can clutter and obfuscate the login credentials.

We should direct the output of the process into a text/log file instead. This way the output isn't visible when using a monitor + keyboard, and the file can be viewed/shared by users. This would also help in debugging, where we could ask users to provide the log file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions