Skip to content

redirect debug output to a file #59

@sunki

Description

@sunki

None of the following methods work for debug info, I still see it in the terminal only (Ubuntu 10.04):

node lib/render.js &>./node.log
node lib/render.js 2>&1>./node.log
node lib/render.js 2>&1 | tee ./node.log
nohup node lib/render.js > ./node.log

The only way to do this is:

 strace -s 9999 -ewrite -p 2840 &> node.log

(where p is phatomjs PID)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions