Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2015 14:19:43 +0200
From:      Alexandr Krivulya <shuriku@shurik.kiev.ua>
To:        freebsd-x11@freebsd.org
Subject:   Re: Disable Xorg.0.log
Message-ID:  <54DC9A5F.20909@shurik.kiev.ua>
In-Reply-To: <20150212122950.41abae93@rsbsd.rsb>
References:  <20150212122950.41abae93@rsbsd.rsb>

next in thread | previous in thread | raw e-mail | index | archive | help
12.02.2015 12:29, Beeblebrox пишет:
> I have diskless clients running X.org.
> /var is mounted from conf/base/var.cpio.gz, and is defined with md_size 6144.
> Starting X populates the log file, which quickly fills up the md assigned to /var. I don't need Xorg.0.log for the time being, so how can I disable it?
>
> These are the solutions (which don't work) that I have found:
> 1. Set /dev/null as logfile - The X.org amn page specifies "-logfile filename" as a command line switch. The equivalent setting for xorg.xonf is NOT {Option  "logfile" "/dev/nul/somefile".
> 2. ln -s /dev/null/somefile /var/log/Xorg.0.log - will not work because X always moves the old file and creates a new log on each start-up.
>
> Any ideas?
> Regards.

I don't know how to completely disable logging, but you can try to set
-logverbose -1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54DC9A5F.20909>