You are not logged in.

#1 2010-11-05 15:12:14

Jimi
Member
From: Brooklyn, NY
Registered: 2009-09-25
Posts: 125
Website

[Solved] X logging to slim.log

I went to bed after a night of playing Minecraft (using the AUR package) on the reddit minecraft server and awake to find that my root (/) partition was basically full. I went digging around and found that my /var/log/slim.log was 9.4G and when I opened it, it was full of Minecraft server logs. Mostly errors saying "Attempted to place a tile entity where there was no entity tile!" (common minecraft errors). I emptied the file, but I'm still oblivious as to why there were minecraft logs in the slim.log file. I'm posting this just to see if any other Minecraft players that use slim could see if they also have their logs there.

edit: Now there is also Mumble (the VoIP software) logs in slim.log. This is really freaking me out that multiple applications are being logged to slim's logfile.
edit: Okay, MANY different applications are now logging to slim.log. I think I'll try a reboot. Moderators, please move this to the correct subforum.

Last edited by Jimi (2010-11-06 01:02:59)

Offline

#2 2010-11-05 18:38:14

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [Solved] X logging to slim.log

Moved to Workstation User.


ᶘ ᵒᴥᵒᶅ

Offline

#3 2010-11-05 20:04:21

manmachine
Member
From: Athens
Registered: 2010-10-28
Posts: 62
Website

Re: [Solved] X logging to slim.log

Do you have an .xsession_errors file in your home directory?
I think with slim all xsession related messages are logged in /var/log/slim.log instead.
So that would include most applications that you usually run in xorg.

If that's a problem look up the configuration for slim. there is a logfile parameter.

Last edited by manmachine (2010-11-05 20:07:30)

Offline

#4 2010-11-06 00:04:50

Jimi
Member
From: Brooklyn, NY
Registered: 2009-09-25
Posts: 125
Website

Re: [Solved] X logging to slim.log

The thing is, they aren't even errors apparently. It appears to be logging almost everything X related.

Here's a short bit of it:
http://paste.ubuntu.com/526668/

Offline

#5 2010-11-06 01:02:42

Jimi
Member
From: Brooklyn, NY
Registered: 2009-09-25
Posts: 125
Website

Re: [Solved] X logging to slim.log

Offline

#6 2010-11-06 10:31:22

manmachine
Member
From: Athens
Registered: 2010-10-28
Posts: 62
Website

Re: [Solved] X logging to slim.log

Indeed that would be the 'proper' solution. That's the output that's normally redirected to ~/.xsession_errors or similar and it can grow big fast! So you can redirect it to a file (can be useful for troubleshooting gtk/xorg/etc.) or /dev/null.

Offline

#7 2010-11-21 21:32:23

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 483
Website

Re: [Solved] X logging to slim.log

ok, I get that I have basically add "./example.pl > /dev/null 2>&1" to .xinitrc to keep all that data out of slim.log... but what is the exact command that I am adding? I wouldn't expect example.pl to be the file that is saving all those logs to slim.log... or am I wrong?


Help grow the dev population... have your tech trained and certified!

Offline

Board footer

Powered by FluxBB