logger.debug(config) at startup
This commit is contained in:
Родитель
ba191fcddb
Коммит
0d72fc28d1
|
@ -2,9 +2,11 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
const config = require('../lib/config').root();
|
||||
const logger = require('../lib/logging').getLogger('fxa.bin.server');
|
||||
const server = require('../lib/server').create();
|
||||
|
||||
logger.debug('Starting with config:', JSON.stringify(config, null, 2));
|
||||
server.start(function() {
|
||||
logger.info('Server started at:', server.info.uri);
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче