adjust log levels

This commit is contained in:
dockes 2009-09-28 17:53:30 +00:00
parent 6f483ea1dd
commit c102bb57c1

View File

@ -235,7 +235,7 @@ public:
virtual int data(NetconData *con, Netcon::Event reason) virtual int data(NetconData *con, Netcon::Event reason)
{ {
if (!m_input) return -1; if (!m_input) return -1;
LOGDEB(("ExecWriter: input m_cnt %d input length %d\n", m_cnt, LOGDEB1(("ExecWriter: input m_cnt %d input length %d\n", m_cnt,
m_input->length())); m_input->length()));
if (m_cnt >= m_input->length()) { if (m_cnt >= m_input->length()) {
// Fd ready for more but we got none. // Fd ready for more but we got none.
@ -278,7 +278,7 @@ public:
{ {
char buf[8192]; char buf[8192];
int n = con->receive(buf, 8192); int n = con->receive(buf, 8192);
LOGDEB(("ExecReader: got %d from command\n", n)); LOGDEB1(("ExecReader: got %d from command\n", n));
if (n < 0) { if (n < 0) {
LOGERR(("ExecCmd::doexec: receive failed. errno %d\n", errno)); LOGERR(("ExecCmd::doexec: receive failed. errno %d\n", errno));
} else if (n > 0) { } else if (n > 0) {