removed unnecessary logging of data dir which is now logged as part of app info

This commit is contained in:
azivner 2019-01-03 21:46:32 +01:00
parent ef1c840aa7
commit d72efd2450
2 changed files with 0 additions and 6 deletions

View file

@ -55,10 +55,6 @@ function getTriliumDataDir() {
}
const TRILIUM_DATA_DIR = getTriliumDataDir();
// not necessary to log this since if we have logs we already know where data dir is.
console.log("Using data dir:", TRILIUM_DATA_DIR);
const DOCUMENT_PATH = TRILIUM_DATA_DIR + "/document.db";
const BACKUP_DIR = TRILIUM_DATA_DIR + "/backup";
const LOG_DIR = TRILIUM_DATA_DIR + "/log";

View file

@ -45,8 +45,6 @@ function request(req) {
logger.info(req.method + " " + req.url);
}
info("Using data dir: " + dataDir.TRILIUM_DATA_DIR);
module.exports = {
info,
error,