Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta (tmow) <antenore@simbiosi.org>2022-01-07 11:30:51 +0300
committerAntenore Gatta (tmow) <antenore@simbiosi.org>2022-01-07 11:30:51 +0300
commit8272aeb7c79872a38e845d1c87edc9517bcb6754 (patch)
treeed337547b8cbaf9d4d5a93d53116aef0ac78f157 /src/remmina.c
parente5f27de6ad23f85dd1cfcd0ec560b2c54234c58a (diff)
Auditing facility
This patch add a macro to log auditing traces, this traces will be shown when the audit is enabled in the general preferences (security): - in the linux journal if available - if Remmina has been started with the Remmina Desktop file - if started from the terminal - from the terminal if G_MESSAGES_DEBUG=all is set (always). Signed-off-by: Antenore Gatta (tmow) <antenore@simbiosi.org>
Diffstat (limited to 'src/remmina.c')
-rw-r--r--src/remmina.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/remmina.c b/src/remmina.c
index 3d390de32..6db94cf32 100644
--- a/src/remmina.c
+++ b/src/remmina.c
@@ -32,6 +32,10 @@
*
*/
+#define G_LOG_USE_STRUCTURED
+#ifndef G_LOG_DOMAIN
+#define G_LOG_DOMAIN ((gchar*)"remmina")
+#endif /* G_LOG_DOMAIN */
#include <gdk/gdkx.h>
#include <gio/gio.h>
#include <glib/gi18n.h>