Commit b36d3e95 authored by skummer's avatar skummer

ZP-237 #comment log folder status change as DEBUG #time 5m

git-svn-id: https://z-push.org/svn/z-push/trunk@1631 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 699e39d1
...@@ -658,12 +658,12 @@ class DeviceManager { ...@@ -658,12 +658,12 @@ class DeviceManager {
// only update if there is a change // only update if there is a change
if ($statusflag !== $currentStatus[ASDevice::FOLDERSYNCSTATUS] && $statusflag != self::FLD_SYNC_COMPLETED) { if ($statusflag !== $currentStatus[ASDevice::FOLDERSYNCSTATUS] && $statusflag != self::FLD_SYNC_COMPLETED) {
$this->device->SetFolderSyncStatus($folderid, array(ASDevice::FOLDERSYNCSTATUS => $statusflag)); $this->device->SetFolderSyncStatus($folderid, array(ASDevice::FOLDERSYNCSTATUS => $statusflag));
ZLog::Write(LOGLEVEL_WARN, sprintf("SetFolderSyncStatus(): set %s for %s", $statusflag, $folderid)); ZLog::Write(LOGLEVEL_DEBUG, sprintf("SetFolderSyncStatus(): set %s for %s", $statusflag, $folderid));
} }
// if completed, remove the status // if completed, remove the status
else if ($statusflag == self::FLD_SYNC_COMPLETED) { else if ($statusflag == self::FLD_SYNC_COMPLETED) {
$this->device->SetFolderSyncStatus($folderid, false); $this->device->SetFolderSyncStatus($folderid, false);
ZLog::Write(LOGLEVEL_WARN, sprintf("SetFolderSyncStatus(): completed for %s", $folderid)); ZLog::Write(LOGLEVEL_DEBUG, sprintf("SetFolderSyncStatus(): completed for %s", $folderid));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment