diff --git a/src/source.c b/src/source.c index 9231e5fd..5e0e81fb 100644 --- a/src/source.c +++ b/src/source.c @@ -23,9 +23,13 @@ #include "client.h" #include "stats.h" #include "format.h" +#include "logging.h" #include "source.h" +#undef CATMODULE +#define CATMODULE "source" + /* avl tree helper */ static int _compare_clients(void *compare_arg, void *a, void *b); static int _remove_client(void *key); @@ -148,6 +152,7 @@ void *source_main(void *arg) if (bytes <= 0) { printf("DEBUG: got 0 bytes reading data, the source must have disconnected...\n"); + INFO0("Disconnecting lame source..."); break; }