poor content

not useful

useful

very useful

excellent

Rate

Output app logs

February 2, 2022

Alireza Ataei

By: Alireza Ataei

Debug app on cPanel through application manager

Reading time: min

    Content List

Output your app logs to terminal for debugging in cPanel

Once you deploy your app to cPanel application manager, you don’t much of the access to at least simply see the outputs and logs
So here is the simple solution for you so that you can view the logs directly through your terminal-app

tail -fn0 /etc/apache2/logs/error_log

Run this command on a new terminal on your server while the application is running through the cPanel routes(not with npm run …)

And you shall see the outputs

Output app logs_screenshot

 

Here is a tutorial on deploying your node app:

dev.to

cPanel

Was this page helpful?

What was the most helpful point of this page for you?

Thanks for your cooperation!

poor content

not useful

useful

very useful

excellent

Comments1

One response to “Debug app on cPanel through application manager”

Leave a Reply

Your email address will not be published.