hardcode logging of box code to box.log
This commit is contained in:
@@ -10,6 +10,7 @@ let assert = require('assert'),
|
||||
cloudron = require('./cloudron.js'),
|
||||
constants = require('./constants.js'),
|
||||
database = require('./database.js'),
|
||||
debug = require('debug')('box:server'),
|
||||
eventlog = require('./eventlog.js'),
|
||||
express = require('express'),
|
||||
http = require('http'),
|
||||
@@ -332,6 +333,12 @@ function start(callback) {
|
||||
assert.strictEqual(typeof callback, 'function');
|
||||
assert.strictEqual(gHttpServer, null, 'Server is already up and running.');
|
||||
|
||||
debug();
|
||||
debug('==========================================');
|
||||
debug(` Cloudron ${constants.VERSION} `);
|
||||
debug('==========================================');
|
||||
debug();
|
||||
|
||||
gHttpServer = initializeExpressSync();
|
||||
|
||||
async.series([
|
||||
|
||||
Reference in New Issue
Block a user