Decreased logging verbosity for INFO level

This commit is contained in:
akallabeth 2022-03-03 10:48:15 +01:00 committed by Bernhard Miklautz
parent 0d999e9c99
commit 3d38d2636c
11 changed files with 15 additions and 15 deletions

View File

@ -1505,7 +1505,7 @@ static BOOL handle_window_events(freerdp* instance)
{
if (!xf_process_x_events(instance))
{
WLog_INFO(TAG, "Closed from X11");
WLog_DBG(TAG, "Closed from X11");
return FALSE;
}
}

View File

@ -2155,7 +2155,7 @@ xf_cliprdr_server_format_data_response(CliprdrClientContext* context,
{
if (SrcSize == 0)
{
WLog_INFO(TAG, "skipping, empty data detected!!!");
WLog_DBG(TAG, "skipping, empty data detected!");
free(clipboard->respond);
clipboard->respond = NULL;
return CHANNEL_RC_OK;

View File

@ -108,7 +108,7 @@ static BOOL register_input_events(xfContext* xfc, Window window)
XITouchClassInfo* t = (XITouchClassInfo*)class;
if (t->mode == XIDirectTouch)
{
WLog_INFO(
WLog_DBG(
TAG,
"%s %s touch device (id: %d, mode: %d), supporting %d touches.",
dev->name, (t->mode == XIDirectTouch) ? "direct" : "dependent",
@ -122,8 +122,8 @@ static BOOL register_input_events(xfContext* xfc, Window window)
case XIButtonClass:
{
XIButtonClassInfo* t = (XIButtonClassInfo*)class;
WLog_INFO(TAG, "%s button device (id: %d, mode: %d)", dev->name, dev->deviceid,
t->num_buttons);
WLog_DBG(TAG, "%s button device (id: %d, mode: %d)", dev->name, dev->deviceid,
t->num_buttons);
XISetMask(masks[nmasks], XI_ButtonPress);
XISetMask(masks[nmasks], XI_ButtonRelease);
XISetMask(masks[nmasks], XI_Motion);

View File

@ -365,7 +365,7 @@ BOOL xf_GetWindowProperty(xfContext* xfc, Window window, Atom property, int leng
if (actual_type == None)
{
WLog_INFO(TAG, "Property %lu does not exist", (unsigned long)property);
WLog_DBG(TAG, "Property %lu does not exist", (unsigned long)property);
return FALSE;
}

View File

@ -3637,7 +3637,7 @@ static BOOL freerdp_client_load_static_channel_addin(rdpChannels* channels, rdpS
{
if (freerdp_channels_client_load_ex(channels, settings, entryEx, data) == 0)
{
WLog_INFO(TAG, "loading channelEx %s", name);
WLog_DBG(TAG, "loading channelEx %s", name);
return TRUE;
}
}
@ -3645,7 +3645,7 @@ static BOOL freerdp_client_load_static_channel_addin(rdpChannels* channels, rdpS
{
if (freerdp_channels_client_load(channels, settings, entry, data) == 0)
{
WLog_INFO(TAG, "loading channel %s", name);
WLog_DBG(TAG, "loading channel %s", name);
return TRUE;
}
}

View File

@ -899,7 +899,7 @@ void freerdp_set_last_error_ex(rdpContext* context, UINT32 lastError, const char
if (lastError == FREERDP_ERROR_SUCCESS)
{
WLog_INFO(TAG, "%s:%s resetting error state", fkt, __FUNCTION__);
WLog_DBG(TAG, "%s:%s resetting error state", fkt, __FUNCTION__);
}
else if (context->LastError != FREERDP_ERROR_SUCCESS)
{

View File

@ -1138,7 +1138,7 @@ BOOL nego_process_negotiation_response(rdpNego* nego, wStream* s)
}
Stream_Read_UINT8(s, nego->flags);
WLog_INFO(TAG, "RDP_NEG_RSP::flags = { %s }", nego_rdp_neg_rsp_flags_str(nego->flags));
WLog_DBG(TAG, "RDP_NEG_RSP::flags = { %s }", nego_rdp_neg_rsp_flags_str(nego->flags));
Stream_Read_UINT16(s, length);
if (length != 8)

View File

@ -509,7 +509,7 @@ static BOOL useKnownHosts(rdpCertificateStore* certificate_store)
WINPR_ASSERT(certificate_store);
use = freerdp_settings_get_bool(certificate_store->settings, FreeRDP_CertificateUseKnownHosts);
WLog_INFO(TAG, "known_hosts=%d", use);
WLog_DBG(TAG, "known_hosts=%d", use);
return use;
}

View File

@ -258,7 +258,7 @@ static BOOL primitives_autodetect_best(primitives_t* prims)
/* finally compute the results */
*prims = *best->prims;
WLog_INFO(TAG, "primitives autodetect, using %s", best->name);
WLog_DBG(TAG, "primitives autodetect, using %s", best->name);
ret = TRUE;
out:
if (!ret)

View File

@ -529,7 +529,7 @@ static void ClipboardInitLocalFileSubsystem(wClipboard* clipboard)
#ifdef WITH_WCLIPBOARD_POSIX
if (ClipboardInitPosixFileSubsystem(clipboard))
{
WLog_INFO(TAG, "initialized POSIX local file subsystem");
WLog_DBG(TAG, "initialized POSIX local file subsystem");
return;
}
else

View File

@ -150,7 +150,7 @@ static char* winpr_get_timezone_from_link(const char* links[], size_t count)
goto end;
strncpy(tzid, &buf[pos], alloc);
WLog_INFO(TAG, "winpr_get_timezone_from_link: tzid: %s", tzid);
WLog_DBG(TAG, "%s: tzid: %s", __FUNCTION__, tzid);
goto end;
}
@ -262,7 +262,7 @@ static char* winpr_get_unix_timezone_identifier_from_file(void)
tzid = winpr_read_unix_timezone_identifier_from_file(fp);
fclose(fp);
if (tzid != NULL)
WLog_INFO(TAG, "winpr_get_unix_timezone_identifier_from_file: tzid: %s", tzid);
WLog_DBG(TAG, "%s: tzid: %s", __FUNCTION__, tzid);
return tzid;
#endif
}