From 4847076c7f7bc75e8d5b38724a1a89ddb64d5c3e Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Fri, 23 Mar 2018 17:04:50 +0100 Subject: wslua: Fix logging Always display Lua messages (to match tshark), do not send them to qDebug as they will not be visible with the default log options. Change-Id: I660a3877355891d45881b26735596ea6dc8a8b29 Fixes: v2.5.0rc0-2037-gc9b6887d84 ("wslua: Fix logger after g6a5e90f2") Reviewed-on: https://code.wireshark.org/review/26599 Petri-Dish: Peter Wu Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- ui/qt/funnel_statistics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/qt/funnel_statistics.cpp b/ui/qt/funnel_statistics.cpp index ea508edb72..3cf271a046 100644 --- a/ui/qt/funnel_statistics.cpp +++ b/ui/qt/funnel_statistics.cpp @@ -196,7 +196,7 @@ void funnel_statistics_logger(const gchar *, GLogLevelFlags, const gchar *message, gpointer) { - qDebug() << message; + fputs(message, stderr); } void funnel_statistics_retap_packets(funnel_ops_id_t *ops_id) { -- cgit v1.2.3