mirror of
https://github.com/zadam/trilium.git
synced 2025-02-25 07:25:32 +08:00
removed unnecessary logging of data dir which is now logged as part of app info
This commit is contained in:
parent
ef1c840aa7
commit
d72efd2450
2 changed files with 0 additions and 6 deletions
|
@ -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";
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue