logging
This commit is contained in:
parent
affba14f3c
commit
3d41bf7ad8
5
app.js
5
app.js
|
@ -7,13 +7,8 @@ const { Pool } = require('pg');
|
|||
const path = require('path');
|
||||
const moment = require('moment');
|
||||
require('dotenv').config();
|
||||
const fs = require('fs');
|
||||
const log = require('node-file-logger');
|
||||
|
||||
const outputLog = fs.createWriteStream('./outputLog.log');
|
||||
const errorsLog = fs.createWriteStream('./errorsLog.log');
|
||||
const consoler = new console.Console(outputLog, errorsLog);
|
||||
|
||||
const app = express();
|
||||
const port = process.env.PORT;
|
||||
|
||||
|
|
Loading…
Reference in New Issue