Disable Xorg.0.log

Alexandr Krivulya shuriku at shurik.kiev.ua
Thu Feb 12 12:49:06 UTC 2015


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


More information about the freebsd-x11 mailing list