Remove device folder name from logs
This commit is contained in:
parent
999b9dd0f2
commit
635bc0bed0
2 changed files with 5 additions and 4 deletions
|
@ -372,8 +372,10 @@ extension DeviceFiles on FilesDB {
|
||||||
deviceCollections.add(deviceCollection);
|
deviceCollections.add(deviceCollection);
|
||||||
}
|
}
|
||||||
if (includeCoverThumbnail) {
|
if (includeCoverThumbnail) {
|
||||||
deviceCollections.sort((a, b) =>
|
deviceCollections.sort(
|
||||||
b.thumbnail.creationTime.compareTo(a.thumbnail.creationTime));
|
(a, b) =>
|
||||||
|
b.thumbnail.creationTime.compareTo(a.thumbnail.creationTime),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
return deviceCollections;
|
return deviceCollections;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
|
@ -259,7 +259,6 @@ class RemoteSyncService {
|
||||||
await _db.getDevicePathIDToLocalIDMap();
|
await _db.getDevicePathIDToLocalIDMap();
|
||||||
bool moreFilesMarkedForBackup = false;
|
bool moreFilesMarkedForBackup = false;
|
||||||
for (final deviceCollection in deviceCollections) {
|
for (final deviceCollection in deviceCollections) {
|
||||||
_logger.fine("processing ${deviceCollection.name}");
|
|
||||||
final Set<String> localIDsToSync =
|
final Set<String> localIDsToSync =
|
||||||
pathIdToLocalIDs[deviceCollection.id] ?? {};
|
pathIdToLocalIDs[deviceCollection.id] ?? {};
|
||||||
if (deviceCollection.uploadStrategy == UploadStrategy.ifMissing) {
|
if (deviceCollection.uploadStrategy == UploadStrategy.ifMissing) {
|
||||||
|
@ -400,7 +399,7 @@ class RemoteSyncService {
|
||||||
if (collectionByID == null || collectionByID.isDeleted) {
|
if (collectionByID == null || collectionByID.isDeleted) {
|
||||||
_logger.info(
|
_logger.info(
|
||||||
"Collection $deviceCollectionID either deleted or missing "
|
"Collection $deviceCollectionID either deleted or missing "
|
||||||
"for path ${deviceCollection.name}",
|
"for path ${deviceCollection.id}",
|
||||||
);
|
);
|
||||||
deviceCollectionID = -1;
|
deviceCollectionID = -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue