functionality which allow to read messages in console (command line window), if the website created in node.js.
If website created by node.js, in file "index.js" might be code like this:
app.get('/', function(req, res){ console.log('blablabla'); ... res.send("hello world"); });
We want to see messages of console, but Plesk dont have functionality for it.
In September 2022 the NodeJS logging was added as a separate option to the "Logs" ("Domain Log Browser") link of a domain. (Internal ID PPP-55966). For further details on this feature, please see https://docs.plesk.com/en-US/obsidian/administrator-guide/website-management/hosting-nodejs-applications.76652/#viewing-logs-of-node-js-applications
Please let us know if this meets your expectations or if you have suggestions for further improvements.
-- PD
-
Hello! My name is Alexey, I am a Program Manager with Plesk responsible for improvements to Node.JS support. You can help us prioritize our development plans by sharing your experience and expectations in this short survey:
https://pt-research.typeform.com/to/LAObHNoi#source=uservoice
Thank you!
AS
-
Visionsbox Live commented
+1 This is an essential feature.
-
Nico Wiedemann commented
This is needed to make the Node.js-Extension usable for productive enviroments. Tools like pm2 allow you to inspect the output of each applications which is running individually. The current solution relys on the idea that everything will work. If this isn't the case the only way to find out what's going wrong is to login via ssh get root-privileges and read the output of the global nginx error_log.