Removing app root
This commit is contained in:
1 parent
8bfe11a902
commit
6bc057d8d4
4 files changed
+2
-10
No files matched your search
+1
-2
@@ -1,11 +1,10 @@
|
||||
const winston = require('winston')
|
||||
const appRoot = require('app-root-path')
|
||||
const util = require('util')
|
||||
|
||||
const options = {
|
||||
file: {
|
||||
level: 'info',
|
||||
filename: `${appRoot}/logs/app.log`,
|
||||
filename: '../logs/app.log',
|
||||
handleExceptions: true,
|
||||
json: true,
|
||||
maxsize: 5242880, // 5MB
|
||||
|
||||
Reference in new issue
Block a user