diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-06-03 17:38:02 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-06-03 17:38:02 +0200 |
commit | 23ad47277e73348bca32226d87274541e56bbebb (patch) | |
tree | 354e94ea4ae79821455410fa3a808b6c0b070485 /src/RemoteControl.h | |
parent | 5cfd2ac643e37605761685dbeafc99ec1fffd059 (diff) | |
parent | e3cc55d32281be5dd7b7017d6dfed42be24d3cda (diff) | |
download | dabmod-23ad47277e73348bca32226d87274541e56bbebb.tar.gz dabmod-23ad47277e73348bca32226d87274541e56bbebb.tar.bz2 dabmod-23ad47277e73348bca32226d87274541e56bbebb.zip |
Merge branch 'next' into tii
Diffstat (limited to 'src/RemoteControl.h')
-rw-r--r-- | src/RemoteControl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/RemoteControl.h b/src/RemoteControl.h index 15b35f6..8f4bdaf 100644 --- a/src/RemoteControl.h +++ b/src/RemoteControl.h @@ -50,6 +50,7 @@ #include <boost/thread.hpp> #include <stdexcept> +#include "Log.h" #define RC_ADD_PARAMETER(p, desc) { \ std::vector<std::string> p; \ @@ -114,8 +115,8 @@ class RemoteControllers { it != m_controllers.end(); ++it) { if ((*it)->fault_detected()) { - fprintf(stderr, - "Detected Remote Control fault, restarting it\n"); + etiLog.level(warn) << + "Detected Remote Control fault, restarting it"; (*it)->restart(); } } |