summaryrefslogtreecommitdiffstats
path: root/debian/patches/94_retain_xorg_log.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 14:30:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 14:30:15 +0000
commit2a6094fa353e2f347967efc1a52bb3c7c6a2f62f (patch)
tree89fbd8df24d08609dee3f34ff1c3caedf1d26a68 /debian/patches/94_retain_xorg_log.patch
parentAdding upstream version 3.38.2.1. (diff)
downloadgdm3-2a6094fa353e2f347967efc1a52bb3c7c6a2f62f.tar.xz
gdm3-2a6094fa353e2f347967efc1a52bb3c7c6a2f62f.zip
Adding debian version 3.38.2.1-1.debian/3.38.2.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/94_retain_xorg_log.patch')
-rw-r--r--debian/patches/94_retain_xorg_log.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/94_retain_xorg_log.patch b/debian/patches/94_retain_xorg_log.patch
new file mode 100644
index 0000000..e3d99aa
--- /dev/null
+++ b/debian/patches/94_retain_xorg_log.patch
@@ -0,0 +1,34 @@
+From: Simon McVittie <smcv@debian.org>
+Date: Sat, 8 Nov 2014 18:10:47 +0100
+Subject: reinstate Xorg.N.log at Xorg maintainers' request
+
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765771
+Forwarded: no
+Origin: vendor, Debian
+---
+ daemon/gdm-server.c | 10 ++++++----
+ 1 file changed, 6 insertions(+), 4 deletions(-)
+
+diff --git a/daemon/gdm-server.c b/daemon/gdm-server.c
+index 1ba00d4..d11d978 100644
+--- a/daemon/gdm-server.c
++++ b/daemon/gdm-server.c
+@@ -235,12 +235,14 @@ gdm_server_init_command (GdmServer *server)
+ * missing, or c) we are running for the main seat 'seat0'. */
+
+ #ifdef ENABLE_SYSTEMD_JOURNAL
+- /* For systemd, we don't have a log file but instead log to stdout,
+- so set it to the xserver's built-in default verbosity */
++ /* For systemd, we log to stdout (which is the Journal),
++ so set it to the same verbosity we use for -logverbose.
++ In Debian we want to log to Xorg.N.log in addition,
++ so we do not turn that off like GNOME upstream do. */
+ if (debug)
+- verbosity = "7 -logfile /dev/null";
++ verbosity = "7";
+ else
+- verbosity = "3 -logfile /dev/null";
++ verbosity = "3";
+ #endif
+
+ if (g_access (SYSTEMD_X_SERVER, X_OK) < 0) {