module/script: add debug logging of raw received data

This commit is contained in:
Daniel Eklöf 2020-10-25 16:06:01 +01:00
parent f2814f786e
commit c911d20e73
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -301,6 +301,8 @@ run_loop(struct module *mod, int comm_fd)
break; break;
} }
LOG_DBG("recv: \"%.*s\"", (int)amount, data);
data_received(mod, data, amount); data_received(mod, data, amount);
} }