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

Get NTP time working on Android

This commit is contained in:
Laurent Cozic
2020-09-09 10:56:17 +01:00
parent f41ba67e15
commit c9adccad4a
4 changed files with 52 additions and 32 deletions

View File

@ -666,6 +666,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);