Merge pull request #736 from williamboman/log-config-file
src/server: log.debug config path on start-up
This commit is contained in:
commit
b7ff814d8b
@ -76,9 +76,10 @@ module.exports = function() {
|
|||||||
|
|
||||||
manager.sockets = sockets;
|
manager.sockets = sockets;
|
||||||
|
|
||||||
let protocol = config.https.enable ? "https" : "http";
|
const protocol = config.https.enable ? "https" : "http";
|
||||||
let host = config.host || "*";
|
const host = config.host || "*";
|
||||||
log.info("The Lounge", Helper.getVersion(), "is now running");
|
log.info("The Lounge", Helper.getVersion(), "is now running");
|
||||||
|
log.info(`Configuration file: ${Helper.CONFIG_PATH}`);
|
||||||
log.info(`Available on: ${protocol}://${host}:${config.port}/ in ${config.public ? "public" : "private"} mode`);
|
log.info(`Available on: ${protocol}://${host}:${config.port}/ in ${config.public ? "public" : "private"} mode`);
|
||||||
log.info("Press ctrl-c to stop\n");
|
log.info("Press ctrl-c to stop\n");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user