Winston cannot write log to log file
The log filename has to be absolute path like: path.resolve(__dirname, 'error.log'), which issue can be found here: https://github.com/winstonjs/winston/issues/1001