Red Hat Bugzilla – Bug 1253055
Xorg log does not exist in RHEL 7.2
Last modified: 2015-11-19 02:16:37 EST
Description of problem:
There's no Xorg logs in RHEL 7.2 in /var/log. However, display driver messages are present in /var/log/messages
Version-Release number of selected component (if applicable):
My guess it is because
root 1798 0.0 0.8 431784 104684 tty1 Ssl+ Aug11 2:12 /usr/bin/Xorg :0 -background none -noreset -audit 4 -verbose 3 -logfile /dev/null -auth /run/gdm/auth-for-gdm-oTTj9L/database -seat seat0 -nolisten tcp vt1
Is it expected Xorg is running with "-logfile /dev/null"
it was an intentional upstream change to move X logging to the journal. The journal gets mirrored to /var/log/messages by rsyslog in RHEL7 (but we don't use rsyslog in recent versions of fedora).
Whether or not we should keep 7.2 like this, I'm not completely sure. Customers might get thrown off by the logs moving. Also in RHEL 6, customers complained when certain GDM logs ended up in syslog ( see bug 834303 )
So I'm thinking we should probably change the logs back to the same locations as 7.1 to be conservative and customer friendly.
*** Bug 1255913 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.