diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2015-12-06 15:22:54 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2015-12-07 13:37:01 +0100 |
commit | 28a70f20cdb5507feacac48cc4e0833f6b1e9afd (patch) | |
tree | 5030527a59b19e28978a94c41045d35722b69eaa /openbsc/src/gprs/gtphub_sock.c | |
parent | 9d8f506f7f74a90091ab4906f17e4dd7501dc406 (diff) |
gtphub: logging: have one newline per log.
Some logging was multiline to ease human reading of debug output. However,
in the VTY output, these newlines lack a CR motion. Split multiline logs into
separate lines.
Also add one missing space.
Sponsored-by: On-Waves ehi
Diffstat (limited to 'openbsc/src/gprs/gtphub_sock.c')
-rw-r--r-- | openbsc/src/gprs/gtphub_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gtphub_sock.c b/openbsc/src/gprs/gtphub_sock.c index 6ea1735c4..699672e46 100644 --- a/openbsc/src/gprs/gtphub_sock.c +++ b/openbsc/src/gprs/gtphub_sock.c @@ -50,7 +50,7 @@ int gtphub_write(const struct osmo_fd *to, LOG(LOGL_ERROR, "sent(%d) != data_len(%d)\n", (int)sent, (int)buf_len); else - LOG(LOGL_DEBUG, "Sent %d\n%s\n", + LOG(LOGL_DEBUG, "Sent %d: %s\n", (int)sent, osmo_hexdump(buf, sent)); return 0; |