moved license to its own file

This commit is contained in:
unek
2014-02-23 10:53:31 +01:00
parent 1c1c59122d
commit e5abcd3c20
3 changed files with 42 additions and 39 deletions
+6 -1
View File
@@ -10,7 +10,12 @@ var settings = yaml.load(fs.readFileSync('./config/config.yml', 'utf-8'));
// load winston's cli defaults
winston.cli();
// winston.add(winston.transports.File,
// write logs to file
if(settings.log.file) {
winston.add(winston.transports.File, {
filename: settings.log.file
, level: info});
}
// connect to coin json-rpc
winston.info('Connecting to coind...');