Skip to content

Commit 95ffc73

Browse files
committed
logging: Lower rgb stream message level
1 parent 7b83c7f commit 95ffc73

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/rgb_packet_stream_parser.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ void RgbPacketStreamParser::onDataReceived(unsigned char* buffer, size_t length)
9898
}
9999
else
100100
{
101-
LOG_ERROR << "buffer overflow!";
101+
LOG_INFO << "buffer overflow!";
102102
fb.length = 0;
103103
return;
104104
}
@@ -115,14 +115,14 @@ void RgbPacketStreamParser::onDataReceived(unsigned char* buffer, size_t length)
115115

116116
if (fb.length != footer->packet_size || raw_packet->sequence != footer->sequence)
117117
{
118-
LOG_ERROR << "packetsize or sequence doesn't match!";
118+
LOG_INFO << "packetsize or sequence doesn't match!";
119119
fb.length = 0;
120120
return;
121121
}
122122

123123
if (fb.length - sizeof(RawRgbPacket) - sizeof(RgbPacketFooter) < footer->filler_length)
124124
{
125-
LOG_ERROR << "not enough space for packet filler!";
125+
LOG_INFO << "not enough space for packet filler!";
126126
fb.length = 0;
127127
return;
128128
}
@@ -142,7 +142,7 @@ void RgbPacketStreamParser::onDataReceived(unsigned char* buffer, size_t length)
142142

143143
if (jpeg_length == 0)
144144
{
145-
LOG_ERROR << "no JPEG detected!";
145+
LOG_INFO << "no JPEG detected!";
146146
fb.length = 0;
147147
return;
148148
}

0 commit comments

Comments
 (0)