Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No more .xsession-errors log. SDDM 0.14. *Solved*
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Sat Sep 10, 2016 8:01 pm    Post subject: No more .xsession-errors log. SDDM 0.14. *Solved* Reply with quote

Since about 2 weeks ago apparently .xsession-errors has stopped collecting info. I've deleted it and touched a new file into place, still nothing. It looks like the info is in journald (and may have been before anyway) but I really don't want to have it there and I changed nothing that would of put it there only and the xsession script clearly has it still going into .xsession-errors.

This is what's been updated since the problem started.
Code:

     Thu Aug 25 09:04:07 2016 >>> games-board/stockfish-7
     Thu Aug 25 09:04:18 2016 >>> dev-libs/libIDL-0.8.14-r2
     Thu Aug 25 09:04:23 2016 >>> net-misc/openvpn-2.3.12
     Thu Aug 25 09:06:28 2016 >>> www-client/google-chrome-beta-53.0.2785.80
     Fri Aug 26 09:34:35 2016 >>> net-p2p/bitcoin-qt-0.13.0
     Fri Aug 26 09:34:39 2016 >>> sys-apps/openrc-0.21.4
     Fri Aug 26 09:34:43 2016 >>> sys-apps/gawk-4.1.4
     Fri Aug 26 09:35:28 2016 >>> kde-apps/kolourpaint-16.08.0
     Mon Aug 29 14:34:28 2016 >>> sys-libs/tevent-0.9.30
     Mon Aug 29 14:34:52 2016 >>> x11-misc/sddm-0.14.0-r1
     Mon Aug 29 14:35:11 2016 >>> net-print/cups-filters-1.11.2
     Mon Aug 29 14:35:14 2016 >>> net-misc/openssh-7.3_p1-r2
     Wed Aug 31 18:13:19 2016 >>> app-text/convertlit-1.8-r3
     Wed Aug 31 18:13:25 2016 >>> dev-libs/libyaml-0.1.7
     Wed Aug 31 18:19:16 2016 >>> dev-libs/boost-1.61.0-r1
     Wed Aug 31 18:20:28 2016 >>> sci-libs/fftw-3.3.5-r2
     Wed Aug 31 18:20:32 2016 >>> dev-python/numpy-1.11.1
     Wed Aug 31 18:20:56 2016 >>> x11-libs/libXfont-1.5.2
     Wed Aug 31 18:21:08 2016 >>> www-client/google-chrome-beta-53.0.2785.89
     Wed Aug 31 18:21:12 2016 >>> dev-libs/libevdev-1.5.4
     Wed Aug 31 18:21:15 2016 >>> app-portage/eix-0.31.9
     Wed Aug 31 18:21:28 2016 >>> dev-libs/libinput-1.4.2
     Wed Aug 31 18:22:00 2016 >>> kde-plasma/powerdevil-5.7.4-r1
     Wed Aug 31 18:24:56 2016 >>> dev-db/mariadb-10.1.17
     Wed Aug 31 18:25:00 2016 >>> sys-apps/openrc-0.21.7


It stopped working on a reboot from the looks of the last messages in it but I can't find similar messages in journald to make me think that it is capturing everything that .xsession-errors was.

Actually now that I look closer it must be some change in sddm, I see the -r1 with minimal changes was actually the first update to 0.14. So what broke or changed?
_________________
#gentoo-kde on freenode


Last edited by firephoto on Sat Sep 10, 2016 8:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Sat Sep 10, 2016 8:17 pm    Post subject: Reply with quote

Solved.

~/.local/share/sddm/xorg-session.log

And it's the only file there.

in /etc/sddm.conf
Code:

# Path to the user session log file
SessionLogFile=.local/share/sddm/xorg-session.log


So the file that annoys some people and gets huge for others is in a new place. Or you change the setting and put it back in the old place. A quick search makes it seem like there might be other bugs triggered by this creation of .local/share/sddm/ directory but fixed in Plasma 5.7.5

I did notice the reboots were a bit faster with this sddm so that is fixed somewhat I guess.
_________________
#gentoo-kde on freenode
Back to top
View user's profile Send private message
as.gentoo
Guru
Guru


Joined: 07 Aug 2004
Posts: 319

PostPosted: Mon Apr 17, 2017 7:14 am    Post subject: Reply with quote

firephoto wrote:
So the file that annoys some people and gets huge for others is in a new place. Or you change the setting and put it back in the old place. A quick search makes it seem like there might be other bugs triggered by this creation of .local/share/sddm/ directory but fixed in Plasma 5.7.5
Annoyed?
Quote:
$> llh /home/xxx/.local/share/sddm/
-rw------- 1 xxx users 7,5G 17. Apr 07:58 /home/xxx/.local/share/sddm/xorg-session.log
I wondered why the space I just freed on my home partition was shrinking incredibly fast.
The compression tool reports "Compression Ratio: 28395.375". There must be many repetitions in that log file in there.
Quote:
$> llh /home/xxx/.local/share/sddm/xorg-session.log.lrz.LZO
-rw------- 1 xxx users 276K 17. Apr 06:54 /home/xxx/.local/share/sddm/xorg-session.log.lrz.LZO

$> eix kde-plasma/plasma-workspace | grep nstall
Installierte Versionen: Version: 5.9.4
Is there a way to drasically reduce the log verbosity to a minimum (e.g. only errors or worse but no "info"), turn it off or limit it's size? Maybe the log could be useful somehow somewhen, but having no space in /home for that possibility is disproportionate - I'm talking of less than a megabyte remaining free space as of today here. Sometimes there were only 208 bytes left. The system usually freezes in that case. Luckily vt1 was working, very laggy but working. So ncdu did point at that file then.

For the time being the xorg-session.log is a symbolic link to /dev/zero . :-\
Please tell me if there is a way to change how the log is written or how to disable it in the common way (config file?)!
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Mon Apr 17, 2017 3:46 pm    Post subject: Reply with quote

as.gentoo wrote:
Is there a way to drasically reduce the log verbosity to a minimum (e.g. only errors or worse but no "info"), turn it off or limit it's size?


For your Plasma 5 session you can run "kdebugdialog5" and deselect everything and it will quiet up most of KDE things. Programs like Chrome-beta or unstable write to the session log a lot too (stable doesn't) but I'm not sure how or if those can be quieted down.
_________________
#gentoo-kde on freenode
Back to top
View user's profile Send private message
as.gentoo
Guru
Guru


Joined: 07 Aug 2004
Posts: 319

PostPosted: Mon Apr 17, 2017 7:23 pm    Post subject: Reply with quote

firephoto wrote:
For your Plasma 5 session you can run "kdebugdialog5" and deselect everything and it will quiet up most of KDE things. Programs like Chrome-beta or unstable write to the session log a lot too (stable doesn't) but I'm not sure how or if those can be quieted down.
Thanks!

When I started kdebugdialog5 I thought "you got to be kidding me" (not you but the KDE devs). More than 1000 clicks to make, not even in a tree-like view. Why didn't they make subsections grouping stuff so that unselecting would disable everything below. Just like the kernel config tools nconfig and menuconfig offer? Yes, I could choose "unselect all" but what when new, preselected options ship with an update… No, the symlink is safer here.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum