Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaas Freitag <freitag@owncloud.com>2014-04-08 15:05:51 +0400
committerKlaas Freitag <freitag@owncloud.com>2014-04-08 15:06:34 +0400
commit7c40dc1a9ab898f80b32f69770e6266c5c259026 (patch)
treef0e294a01631bcefecf40ff8abf7c993c1f46052
parentaf3af94a01460e830c238d6fb256bbb37f88b8da (diff)
Ignore changes on .owncloudsync.log in the linux filewatcher.v1.6.0-beta1
Also remove some verbose and unused logging.
-rw-r--r--src/mirall/folderwatcher_linux.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mirall/folderwatcher_linux.cpp b/src/mirall/folderwatcher_linux.cpp
index 71226dc8c..58abe2022 100644
--- a/src/mirall/folderwatcher_linux.cpp
+++ b/src/mirall/folderwatcher_linux.cpp
@@ -170,9 +170,10 @@ void FolderWatcherPrivate::slotReceivedNotification(int fd)
// Note: The name of the changed file and stuff could be taken from
// the event data structure. That does not happen yet.
if (event->len > 0 && event->wd > -1) {
- qDebug() << Q_FUNC_INFO << event->name;
- if (QByteArray(event->name).startsWith(".csync")) {
- qDebug() << "ignore journal";
+ // qDebug() << Q_FUNC_INFO << event->name;
+ if (QByteArray(event->name).startsWith(".csync") ||
+ QByteArray(event->name) == ".owncloudsync.log") {
+ // qDebug() << "ignore journal";
} else {
const QString p = _watches[event->wd];
_parent->changeDetected(p);