hardcode logging of box code to box.log

This commit is contained in:
Girish Ramakrishnan
2020-08-04 09:34:03 -07:00
parent 822b38cc89
commit 182c162dc4
4 changed files with 50 additions and 32 deletions

View File

@@ -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([