diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2015-11-16 13:54:00 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2015-11-16 13:54:00 +0100 |
commit | a18603803ae37d7db8ac116113ede0bd979eddcd (patch) | |
tree | 50c6a00159b0a34cdd2568753c214babf48ba2ba /src/logger.js | |
parent | 16357143aeef68768664c8961db686e65b2350e2 (diff) | |
download | PeerTube-a18603803ae37d7db8ac116113ede0bd979eddcd.tar.gz PeerTube-a18603803ae37d7db8ac116113ede0bd979eddcd.tar.zst PeerTube-a18603803ae37d7db8ac116113ede0bd979eddcd.zip |
Source refractoring
Diffstat (limited to 'src/logger.js')
-rw-r--r-- | src/logger.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/logger.js b/src/logger.js index b1384e8b9..850af10cb 100644 --- a/src/logger.js +++ b/src/logger.js | |||
@@ -1,10 +1,9 @@ | |||
1 | ;(function () { | 1 | ;(function () { |
2 | // Thanks http://tostring.it/2014/06/23/advanced-logging-with-nodejs/ | 2 | // Thanks http://tostring.it/2014/06/23/advanced-logging-with-nodejs/ |
3 | |||
4 | 'use strict' | 3 | 'use strict' |
5 | 4 | ||
6 | var winston = require('winston') | ||
7 | var config = require('config') | 5 | var config = require('config') |
6 | var winston = require('winston') | ||
8 | 7 | ||
9 | var logDir = __dirname + '/../' + config.get('storage.logs') | 8 | var logDir = __dirname + '/../' + config.get('storage.logs') |
10 | 9 | ||