My solution
// initErrorLogs.js
import path from 'path';
import fs from 'fs';
import util from 'util';
var log_file = fs.createWriteStream(path.resolve('node.log'), {flags : 'w'});
var log_stdout = process.stdout;
const formatDate = (date = new Date()) => {
var year = date.getFullYear()...
Hello Plesk-Community,
I have a NodeJs-App running with Phusion Passenger and nginx on Plesk.
The instructions for the passenger configuration to setup a path for the log files isn't working in my case.
Is there anybody who knows how to setup up error logs?
I have apended my config file...