summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/client/ClientStore.cpp4
-rw-r--r--src/server/ServerInterfaceImpl.cpp3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp
index 7f2a534f..ab3847ee 100644
--- a/src/client/ClientStore.cpp
+++ b/src/client/ClientStore.cpp
@@ -512,8 +512,8 @@ ClientStore::disconnect_all(const Raul::Path& parent_patch,
SharedPtr<ObjectModel> object = _object(path);
if (!patch || !object) {
- std::cerr << "Bad disconnect all notification " << path
- << " in " << parent_patch << std::endl;
+ LOG(Raul::error) << "Bad disconnect all notification " << path
+ << " in " << parent_patch << std::endl;
return;
}
diff --git a/src/server/ServerInterfaceImpl.cpp b/src/server/ServerInterfaceImpl.cpp
index 3994e695..4c7ed140 100644
--- a/src/server/ServerInterfaceImpl.cpp
+++ b/src/server/ServerInterfaceImpl.cpp
@@ -138,7 +138,8 @@ ServerInterfaceImpl::disconnect(const Path& src,
const Path& dst)
{
if (!Path::is_path(src) && !Path::is_path(dst)) {
- std::cerr << "Bad disconnect request " << src << " => " << dst << std::endl;
+ LOG(Raul::error) << "Bad disconnect request " << src
+ << " => " << dst << std::endl;
return;
}