Commits

Anonymous committed 623a7c1

stdch.cc Unnecessary WARN mesages will be displayed in DEBUG log leve

  • Participants
  • Parent commits 433a2cd
  • Tags r0.1

Comments (0)

Files changed (1)

modules/channel/stdch/stdch.cc

 };
 
 void StandardChannel::read_cb(ev::io &watcher, int revents) {
-        LOG(WARN) << "StandardChannel::read_cb() start";
+        LOG(DEBUG) << "StandardChannel::read_cb() start";
         char buffer[1024];
         memset((void*)buffer,0,1024);
 #ifdef DEBUG_MSG
             delete &watcher;
             
         } else {
-            LOG(INFO) << "Got message from channel: " << buffer;
+            LOG(DEBUG) << "Got message from channel: " << buffer;
             MyData *data = new MyData;
             data->content  = buffer;
 
             notify_workflows(data);
             data = NULL; // forget about the data collected;
         }
-        LOG(WARN) << "StandardChannel::read_cb() stop";
+        LOG(DEBUG) << "StandardChannel::read_cb() stop";
 
 };
 
     string_t result("FileLogger result: ");
     result+=pdata->content;
     write(file_fd,(void*)result.c_str(),result.size());
-    LOG(INFO) << "Data logged from pack at: " << data.get()
+    LOG(DEBUG) << "Data logged from pack at: " << data.get()
               << " logging: " << result;
     data.reset();
 };