[RFC] implement log facility using syslog

Tiago Vignatti tiago.vignatti at linux.intel.com
Mon Jul 25 02:24:38 PDT 2011


On 07/23/2011 12:34 AM, Marty Jack wrote:
>
>
> The primary reason you wouldn't use syslog to log user messages is that it opens the possibility for an unprivileged user process to maliciously consume the root partition.  Logging to the equivalent of ~/.Xsession-errors is the right way to go because it puts the log traffic into the user's home directory.  It would be okay to use syslog or a log file in /var/log or such to log messages from the system compositor that pertain to things that happen outside of when a user is logged in.

syslog implementations let you redirect however you want the logs, for 
instance in a home directory or even .xsessions-errors :)

               Tiago


More information about the wayland-devel mailing list