From e297928ea174b3a5bb11fed177902c0a9aa5ced5 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 16 May 2017 21:59:20 +0200 Subject: [PATCH] os/gnulinux: relax log level of failures to set the POSIX thread name to Warning See https://github.com/orocos-toolchain/rtt/pull/176#issuecomment-266837220. Signed-off-by: Johannes Meyer --- rtt/os/gnulinux/fosi_internal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtt/os/gnulinux/fosi_internal.cpp b/rtt/os/gnulinux/fosi_internal.cpp index 014ef1f39..2916ebfc8 100644 --- a/rtt/os/gnulinux/fosi_internal.cpp +++ b/rtt/os/gnulinux/fosi_internal.cpp @@ -173,8 +173,8 @@ namespace RTT } int result = pthread_setname_np(task->thread, thread_name); if (result != 0) { - log(Error) << "Failed to set thread name for " << task->name << ": " - << strerror(result) << endlog(); + log(Warning) << "Failed to set thread name for " << task->name << ": " + << strerror(result) << endlog(); } }