From 90de29d530dfc2921d5179977b3393c11a3cc238 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 7 Oct 2022 13:56:02 +0200 Subject: [PATCH] RemoteLinux: Re-enable categorized logging for shell access Task-number: QTCREATORBUG-28242 Change-Id: Iea56465576ade76b92948766c94e458d45e81191 Reviewed-by: Christian Kandeler --- src/plugins/remotelinux/linuxdevice.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/plugins/remotelinux/linuxdevice.cpp b/src/plugins/remotelinux/linuxdevice.cpp index 95c9f4dbbb1..e137a420035 100644 --- a/src/plugins/remotelinux/linuxdevice.cpp +++ b/src/plugins/remotelinux/linuxdevice.cpp @@ -54,11 +54,8 @@ const QByteArray s_pidMarker = "__qtc"; const char Delimiter0[] = "x--"; const char Delimiter1[] = "---"; -//static Q_LOGGING_CATEGORY(linuxDeviceLog, "qtc.remotelinux.device", QtWarningMsg); -//#define LOG(x) qCDebug(linuxDeviceLog) << x << '\n' -//#define DEBUG(x) qDebug() << x; -//#define DEBUG(x) LOG(x) -#define DEBUG(x) +static Q_LOGGING_CATEGORY(linuxDeviceLog, "qtc.remotelinux.device", QtWarningMsg); +#define DEBUG(x) qCDebug(linuxDeviceLog) << x << '\n' class SshSharedConnection : public QObject {