LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-22-2009, 03:24 PM   #1
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 46
Disable x.org logging


X.org creates logfiles in /var/log upon it's startup. Most of the time I have no use for these files and I'd like to reduce the amount of writes to the disk (planning on switching to ssd), so my question is:

How do you disable x.org logging or alternatively redirect the logs to /dev/null?
 
Old 01-23-2009, 07:57 AM   #2
zer0x333
Member
 
Registered: Oct 2007
Posts: 31

Rep: Reputation: 16
MFS

Hi,

Only a thought, but could you mount /var/log in memory and sync it to disk at shutdown?

zer0x
 
Old 01-24-2009, 12:27 PM   #3
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Original Poster
Rep: Reputation: 46
Done that already, but as I don't really have any use for xorg logs, it seems like a waste of perfectly good ram to have them hanging around in tmpfs.
 
Old 01-27-2009, 10:00 AM   #4
zer0x333
Member
 
Registered: Oct 2007
Posts: 31

Rep: Reputation: 16
Ahh

True, it would be a waste of RAM! I had a quick look at the Xorg man page, it mentions -logverbose as default 3 - It might be worth trying 0 or 1?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix disable logging? lennard Linux - Software 3 12-08-2010 11:00 AM
disable all users from logging in acaj5 Linux - Newbie 3 06-08-2006 02:56 AM
disable logging for ntpdate rubella Linux - Newbie 1 12-15-2005 04:37 PM
Disable all Apache 2.x logging hakcenter Linux - Networking 2 12-05-2003 01:34 AM
disable logging rsbecker007 Linux From Scratch 2 04-09-2002 10:58 PM


All times are GMT -5. The time now is 11:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration