Skip to content

Commit

Permalink
Raise the log level of some messages
Browse files Browse the repository at this point in the history
  • Loading branch information
peternewman committed Aug 26, 2017
1 parent 83f6235 commit d35191f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/logic/logic-rdm-sniffer.cpp
Expand Up @@ -81,6 +81,7 @@ using ola::NewSingleCallback;
DEFINE_default_bool(display_asc, false,
"Display non-RDM alternate start code frames.");
DEFINE_s_default_bool(full_rdm, r, false, "Unpack RDM parameter data.");
// TODO(Peter): Implement this!
DEFINE_s_default_bool(timestamp, t, false, "Include timestamps.");
DEFINE_s_default_bool(display_dmx, d, false,
"Display DMX Frames. Defaults to false.");
Expand Down Expand Up @@ -172,7 +173,7 @@ void LogicReader::DeviceConnected(U64 device, GenericInterface *interface) {
}

void LogicReader::DeviceDisconnected(U64 device) {
OLA_INFO << "Device " << device << " disconnected";
OLA_FATAL << "Device " << device << " disconnected";

MutexLocker lock(&m_mu);
if (device != m_device_id) {
Expand Down Expand Up @@ -347,7 +348,7 @@ void OnReadData(U64 device_id, U8 *data, uint32_t data_length,
}

void OnError(U64 device_id, void *user_data) {
OLA_INFO << "A device reported an Error.";
OLA_WARN << "A device reported an Error.";
(void) device_id;
(void) user_data;
}
Expand Down

0 comments on commit d35191f

Please sign in to comment.