From fe775798ca3cfe8f0f8355b9bc7b1d325a876035 Mon Sep 17 00:00:00 2001 From: Sascha Philipp Date: Thu, 24 Apr 2014 10:14:23 +0200 Subject: Reworked internal output Change-Id: I371c1b234929fda46608f563f08cae141b97d0a9 Signed-off-by: Ralf Anton Beier Signed-off-by: Sascha Philipp --- src/daemon/dlt_daemon_client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/daemon/dlt_daemon_client.c') diff --git a/src/daemon/dlt_daemon_client.c b/src/daemon/dlt_daemon_client.c index 041a105..c5293de 100644 --- a/src/daemon/dlt_daemon_client.c +++ b/src/daemon/dlt_daemon_client.c @@ -262,7 +262,7 @@ int dlt_daemon_client_send_control_message( int sock, DltDaemon *daemon, DltDaem len=msg->headersize - sizeof(DltStorageHeader) + msg->datasize; if (len>UINT16_MAX) { - dlt_log(LOG_CRIT,"Huge control message discarded!\n"); + dlt_log(LOG_WARNING,"Huge control message discarded!\n"); return DLT_DAEMON_ERROR_UNKNOWN; } @@ -720,7 +720,7 @@ void dlt_daemon_control_get_log_info(int sock, DltDaemon *daemon, DltDaemonLocal if (verbose) { snprintf(str,DLT_DAEMON_TEXTBUFSIZE,"Allocate %d bytes for response msg databuffer\n", resp.datasize); - dlt_log(LOG_INFO, str); + dlt_log(LOG_DEBUG, str); } /* Allocate buffer for response message */ @@ -1598,7 +1598,7 @@ void dlt_daemon_control_message_time(int sock, DltDaemon *daemon, DltDaemonLocal len=msg.headersize - sizeof(DltStorageHeader) + msg.datasize; if (len>UINT16_MAX) { - dlt_log(LOG_CRIT,"Huge control message discarded!\n"); + dlt_log(LOG_WARNING,"Huge control message discarded!\n"); /* free message */ dlt_message_free(&msg,0); -- cgit v1.2.1