blob: e3d99aa954e75617f6ef73efcc7670227c012ca8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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) {
|