Map the logger configuration in lms.conf file

This commit is contained in:
emeric
2019-06-06 13:40:29 +02:00
parent 39bf478f9f
commit 37a41ece1f
7 changed files with 41 additions and 45 deletions
+2 -2
View File
@@ -242,7 +242,6 @@ MediaScanner::requestImmediateScan()
{
_ioService.post([=]()
{
LMS_LOG(DBUPDATER, INFO) << "Schedule immediate scan";
scheduleScan();
});
}
@@ -252,7 +251,6 @@ MediaScanner::requestReschedule()
{
_ioService.post([=]()
{
LMS_LOG(DBUPDATER, INFO) << "Rescheduling scan";
scheduleNextScan();
});
}
@@ -274,6 +272,8 @@ MediaScanner::getStatus()
void
MediaScanner::scheduleNextScan()
{
LMS_LOG(DBUPDATER, INFO) << "Scheduling next scan";
refreshScanSettings();
Wt::WDateTime now = Wt::WLocalDateTime::currentServerDateTime().toUTC();