1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Merge branch 'release-1.0' into dev

This commit is contained in:
Laurent Cozic
2020-09-09 13:59:36 +01:00
11 changed files with 293 additions and 7 deletions

View File

@ -44,6 +44,9 @@ const KvStore = require('lib/services/KvStore');
const MigrationService = require('lib/services/MigrationService');
const { toSystemSlashes } = require('lib/path-utils.js');
const ntpClient = require('lib/vendor/ntp-client');
ntpClient.dgram = require('dgram');
class BaseApplication {
constructor() {
this.logger_ = new Logger();
@ -673,6 +676,7 @@ class BaseApplication {
reg.dispatch = () => {};
BaseService.logger_ = this.logger_;
require('lib/ntpDate').setLogger(reg.logger());
this.dbLogger_.addTarget('file', { path: `${profileDir}/log-database.txt` });
this.dbLogger_.setLevel(initArgs.logLevel);