How to see log file from node.js server
I want to see the log file from node.js server.
I read your document
"How to Install a Node.js Application
I am using a custom startup file.
I got everything working.
My custom startup file has this line.
PassengerStartupFile "server.js"
I want to see the output from server.js.
I sure wish the following would work,
but it doesn't.
PassengerStartupFile "server.js > log.txt"
Is there something like
PassengerStartupFileParameters "> log.txt"
Do you know some way I can see that log file?
-
I think what you want is the server.js app log file correct? They have instructions to add logging for their specific app Options documentation - server.js 0 -
Well, I want to see all my console.log messages. I found out I can see this output in the file /var/log/apache2/error_log 0
Please sign in to leave a comment.
Comments
2 comments