diff options
author | David Robillard <d@drobilla.net> | 2010-01-07 05:30:58 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-01-07 05:30:58 +0000 |
commit | 2cd6cbac63b4eafde20698e918151b27908fd335 (patch) | |
tree | 82790b280d3a9d1f1c82bf11c8111c59a5b88032 /src/engine | |
parent | 1de7af2e453735869122ca61f65be157d7b799bd (diff) | |
download | ingen-2cd6cbac63b4eafde20698e918151b27908fd335.tar.gz ingen-2cd6cbac63b4eafde20698e918151b27908fd335.tar.bz2 ingen-2cd6cbac63b4eafde20698e918151b27908fd335.zip |
Better log output.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2361 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/HTTPEngineReceiver.cpp | 5 | ||||
-rw-r--r-- | src/engine/OSCEngineReceiver.cpp | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/src/engine/HTTPEngineReceiver.cpp b/src/engine/HTTPEngineReceiver.cpp index 16369bde..a621132a 100644 --- a/src/engine/HTTPEngineReceiver.cpp +++ b/src/engine/HTTPEngineReceiver.cpp @@ -54,12 +54,11 @@ HTTPEngineReceiver::HTTPEngineReceiver(Engine& engine, uint16_t port) soup_server_add_handler(_server, NULL, message_callback, this, NULL); LOG(info) << "Started HTTP server on port " << soup_server_get_port(_server) << endl; - Thread::set_name("HTTP Receiver"); if (!engine.world()->parser || !engine.world()->serialiser) engine.world()->load("ingen_serialisation"); - Thread::set_name("HTTP Receiver"); + Thread::set_name("HTTPEngineReceiver"); } @@ -81,7 +80,7 @@ void HTTPEngineReceiver::activate_source() { EventSource::activate_source(); - _receive_thread->set_name("HTTP Receiver"); + _receive_thread->set_name("HTTPEngineReceiver Listener"); _receive_thread->start(); } diff --git a/src/engine/OSCEngineReceiver.cpp b/src/engine/OSCEngineReceiver.cpp index 95823c1d..8d1a49dc 100644 --- a/src/engine/OSCEngineReceiver.cpp +++ b/src/engine/OSCEngineReceiver.cpp @@ -115,7 +115,7 @@ OSCEngineReceiver::OSCEngineReceiver(Engine& engine, size_t queue_size, uint16_t lo_server_add_method(_server, NULL, NULL, unknown_cb, NULL); - Thread::set_name("OSC Receiver"); + Thread::set_name("OSCEngineReceiver"); } @@ -140,7 +140,7 @@ void OSCEngineReceiver::activate_source() { EventSource::activate_source(); - _receive_thread->set_name("OSC Receiver"); + _receive_thread->set_name("OSCEngineReceiver Listener"); _receive_thread->start(); _receive_thread->set_scheduling(SCHED_FIFO, 5); // Jack default appears to be 10 } @@ -713,7 +713,7 @@ OSCEngineReceiver::_request_all_objects_cb(const char* path, const char* types, int OSCEngineReceiver::generic_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg, void* user_data) { - printf("[OSCMsg] %s (%s)\t", path, types); + printf("[OSCEngineReceiver] %s (%s)\t", path, types); for (int i=0; i < argc; ++i) { lo_arg_pp(lo_type(types[i]), argv[i]); |