journalctl: too many informational messages from Xorg

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
MakeTopSite
Posts: 45
Joined: 2021-01-20 08:44

journalctl: too many informational messages from Xorg

#1 Post by MakeTopSite »

Code: Select all

journalctl -r  --priority="warning"
...
Jul 14 10:52:07 d /usr/lib/gdm3/gdm-x-session[1007]: (II) RADEON(0): Modeline "800x600"x0.0   50.0
Jul 14 10:52:07 d /usr/lib/gdm3/gdm-x-session[1007]: (II) RADEON(0): Modeline "800x600"x0.0   49.5
Jul 14 10:52:07 d /usr/lib/gdm3/gdm-x-session[1007]: (II) RADEON(0): Modeline "832x624"x0.0   57.2
Jul 14 10:52:07 d /usr/lib/gdm3/gdm-x-session[1007]: (II) RADEON(0): Modeline "1024x768"x0.0   75.
Jul 14 10:52:07 d /usr/lib/gdm3/gdm-x-session[1007]: (II) RADEON(0): Modeline "1024x768"x0.0   78.
Jul 14 10:52:07 d /usr/lib/gdm3/gdm-x-session[1007]: (II) RADEON(0): Modeline "720x400"x0.0   28.3
Jul 14 10:52:07 d /usr/lib/gdm3/gdm-x-session[1007]: (II) RADEON(0): Modeline "640x480"x0.0   25.1
Jul 14 10:52:07 d /usr/lib/gdm3/gdm-x-session[1007]: (II) RADEON(0): Modeline "640x480"x0.0   30.2
Jul 14 10:52:07 d /usr/lib/gdm3/gdm-x-session[1007]: (II) RADEON(0): Modeline "640x480"x0.0   31.5
Jul 14 10:52:07 d /usr/lib/gdm3/gdm-x-session[1007]: (II) RADEON(0): Modeline "640x480"x0.0   31.5
Jul 14 10:52:07 d /usr/lib/gdm3/gdm-x-session[1007]: (II) RADEON(0): Modeline "800x600"x0.0   36.0
Jul 14 10:52:07 d /usr/lib/gdm3/gdm-x-session[1007]: (II) RADEON(0): Modeline "800x600"x0.0   40.0
Jul 14 10:52:07 d /usr/lib/gdm3/gdm-x-session[1007]: (II) RADEON(0): Modeline "1024x768"x0.0   65.
...
Is it please possible to show Xorg warnings/errors only ?
Debian 10.

User avatar
sunrat
Global Moderator
Global Moderator
Posts: 3776
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 4 times
Been thanked: 15 times

Re: journalctl: too many informational messages from Xorg

#2 Post by sunrat »

You can pipe journalctl through grep eg.:

Code: Select all

journalctl -r -p4 | grep xorg
Substitute "xorg" with whatever pattern you wish to search for. I rarely use -p4 (warnings, same as "--priority="warning"" but quicker to type) as it will give a flood of results but can be useful sometimes. Mostly I've used -p3 (errors) on the rare occasion I need to diagnose issues.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

p.H
Posts: 1969
Joined: 2017-09-17 07:12
Been thanked: 9 times

Re: journalctl: too many informational messages from Xorg

#3 Post by p.H »

Xorg errors and warnings are prefixed with "(EE)" and "(WW)".

Code: Select all

[    33.902] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.

MakeTopSite
Posts: 45
Joined: 2021-01-20 08:44

Re: journalctl: too many informational messages from Xorg

#4 Post by MakeTopSite »

sunrat wrote: 2021-07-14 11:29 You can pipe journalctl through grep eg.:

Code: Select all

journalctl -r -p4 | grep xorg
Substitute "xorg" with whatever pattern you wish to search for. I rarely use -p4 (warnings, same as "--priority="warning"" but quicker to type) as it will give a flood of results but can be useful sometimes. Mostly I've used -p3 (errors) on the rare occasion I need to diagnose issues.
Excuse me I meant "how show all (both non-Xorg and Xorg) warnings/errors without Xorg informational messages"

User avatar
sunrat
Global Moderator
Global Moderator
Posts: 3776
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 4 times
Been thanked: 15 times

Re: journalctl: too many informational messages from Xorg

#5 Post by sunrat »

MakeTopSite wrote: 2021-07-15 05:40
sunrat wrote: 2021-07-14 11:29 You can pipe journalctl through grep eg.:

Code: Select all

journalctl -r -p4 | grep xorg
Substitute "xorg" with whatever pattern you wish to search for. I rarely use -p4 (warnings, same as "--priority="warning"" but quicker to type) as it will give a flood of results but can be useful sometimes. Mostly I've used -p3 (errors) on the rare occasion I need to diagnose issues.
Excuse me I meant "how show all (both non-Xorg and Xorg) warnings/errors without Xorg informational messages"
OK, that's a different question. AFAIK that's what your command should be showing. No idea why it's showing info messages as well.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

p.H
Posts: 1969
Joined: 2017-09-17 07:12
Been thanked: 9 times

Re: journalctl: too many informational messages from Xorg

#6 Post by p.H »

Maybe gdm forwards all messages from Xorg to systemd-journald with the warning priority.

MakeTopSite
Posts: 45
Joined: 2021-01-20 08:44

Re: journalctl: too many informational messages from Xorg

#7 Post by MakeTopSite »

p.H wrote: 2021-07-15 11:44 Maybe gdm forwards all messages from Xorg to systemd-journald with the warning priority.
yes it seems to be so.

Post Reply