• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Can't find nodejs logs

macmee

New Pleskian
I have my nodejs app working perfectly with the nodejs that uses passthrough in plesk!

My only issue though is sadly I can't see the logs of my running app. Meaning, console.log/error or any stdout or stderr from node does not seem to get logged anywhere I can find.

In the log viewer I tried choosing nodejs in the dropdown but this file is empty. The passthrough log file is also empty.

I was wondering if anyone could shed some light on this before I go digging deeper into how nginx works with passthrough.

Thank you!
 
What about /var/log/passenger/passenger.log ?

It is also possible to troubleshoot the application using the Debugging Guide. However, this isn't supported by Plesk and has to run only from CLI (stopping the web server beforehand).
 
What about /var/log/passenger/passenger.log ?

It is also possible to troubleshoot the application using the Debugging Guide. However, this isn't supported by Plesk and has to run only from CLI (stopping the web server beforehand).
I don't see my application logs in there either, just this repeated:

[ D 2022-11-29 06:40:35.0002 199117/T3 age/Cor/App/Poo/AnalyticsCollection.cpp:116 ]: Analytics collection time...
[ D 2022-11-29 06:40:35.0002 199117/T3 age/Cor/App/Poo/AnalyticsCollection.cpp:143 ]: Collecting process metrics
[ D 2022-11-29 06:40:35.0003 199117/T3 age/Cor/App/Poo/AnalyticsCollection.cpp:151 ]: Collecting system metrics
[ D 2022-11-29 06:40:35.0004 199117/T3 age/Cor/App/Poo/AnalyticsCollection.cpp:67 ]: Analytics collection done; next analytics collection in 5.000 sec
[ D 2022-11-29 06:40:35.0005 206476/T5 Ser/Server.h:691 ]: [WatchdogApiServer] Updating statistics
[ D 2022-11-29 06:40:35.0006 206479/Ta age/Cor/Con/TurboCaching.h:246 ]: Clearing turbocache
[ D 2022-11-29 06:40:35.0001 199117/Td Ser/Server.h:691 ]: [ApiServer] Updating statistics
[ D 2022-11-29 06:40:35.0007 199117/T9 age/Cor/Con/TurboCaching.h:246 ]: Clearing turbocache
[ D 2022-11-29 06:40:35.0007 199117/T9 Ser/Server.h:691 ]: [ServerThr.1] Updating statistics
[ D 2022-11-29 06:40:35.0001 199114/T5 Ser/Server.h:691 ]: [WatchdogApiServer] Updating statistics
[ D 2022-11-29 06:40:35.0006 206479/Ta Ser/Server.h:691 ]: [ServerThr.2] Updating statistics
[ D 2022-11-29 06:40:35.0006 206479/T9 age/Cor/Con/TurboCaching.h:246 ]: Clearing turbocache
[ D 2022-11-29 06:40:35.0008 206479/T9 Ser/Server.h:691 ]: [ServerThr.1] Updating statistics
[ D 2022-11-29 06:40:35.0006 206479/T7 age/Cor/App/Poo/AnalyticsCollection.cpp:116 ]: Analytics collection time...
[ D 2022-11-29 06:40:35.0007 206479/Td Ser/Server.h:691 ]: [ApiServer] Updating statistics
[ D 2022-11-29 06:40:35.0008 206479/T7 age/Cor/App/Poo/AnalyticsCollection.cpp:143 ]: Collecting process metrics
[ D 2022-11-29 06:40:35.0134 206479/T7 age/Cor/App/Poo/AnalyticsCollection.cpp:151 ]: Collecting system metrics
[ D 2022-11-29 06:40:35.0136 206479/T7 age/Cor/App/Poo/AnalyticsCollection.cpp:67 ]: Analytics collection done; next analytics collection in 4.986 sec
 
Back
Top