Reduce logging verbosity in the Linux BBA code

This commit is contained in:
Pierre Bourdon 2012-07-05 01:30:37 +02:00
parent 5db70f452b
commit dd48b246b2
1 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ bool CEXIETHERNET::IsActivated()
bool CEXIETHERNET::SendFrame(u8* frame, u32 size) bool CEXIETHERNET::SendFrame(u8* frame, u32 size)
{ {
#ifdef __linux__ #ifdef __linux__
WARN_LOG(SP1, "SendFrame %x\n%s", size, ArrayToString(frame, size, 0x10).c_str()); INFO_LOG(SP1, "SendFrame %x\n%s", size, ArrayToString(frame, size, 0x10).c_str());
int writtenBytes = write(fd, frame, size); int writtenBytes = write(fd, frame, size);
if ((u32)writtenBytes != size) if ((u32)writtenBytes != size)
@ -143,7 +143,7 @@ void ReadThreadHandler(CEXIETHERNET* self)
} }
else if (self->readEnabled) else if (self->readEnabled)
{ {
WARN_LOG(SP1, "Read data: %s", ArrayToString(self->mRecvBuffer, readBytes, 0x10).c_str()); INFO_LOG(SP1, "Read data: %s", ArrayToString(self->mRecvBuffer, readBytes, 0x10).c_str());
self->mRecvBufferLength = readBytes; self->mRecvBufferLength = readBytes;
self->RecvHandlePacket(); self->RecvHandlePacket();
} }