diff options
Diffstat (limited to 'server/helpers/logger.js')
-rw-r--r-- | server/helpers/logger.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/logger.js b/server/helpers/logger.js index 67f69a875..1c15a0edd 100644 --- a/server/helpers/logger.js +++ b/server/helpers/logger.js | |||
@@ -6,7 +6,7 @@ var path = require('path') | |||
6 | var winston = require('winston') | 6 | var winston = require('winston') |
7 | winston.emitErrs = true | 7 | winston.emitErrs = true |
8 | 8 | ||
9 | var logDir = path.join(__dirname, '..', config.get('storage.logs')) | 9 | var logDir = path.join(__dirname, '..', '..', config.get('storage.logs')) |
10 | var logger = new winston.Logger({ | 10 | var logger = new winston.Logger({ |
11 | transports: [ | 11 | transports: [ |
12 | new winston.transports.File({ | 12 | new winston.transports.File({ |