Date: Thu, 27 Dec 2007 08:04:07 -0600 From: Jeffrey Goldberg <jeffrey@goldmark.org> To: Peter Boosten <peter@boosten.org> Cc: User questions <freebsd-questions@freebsd.org> Subject: Re: syslog-ng not logging Message-ID: <98D543FB-8060-4F8F-B4FD-4E5B8ABE876F@goldmark.org> In-Reply-To: <20071227044016.bqrtqsjpwogkgc8k@www.boosten.org> References: <1FF40B1F-D183-421A-A7A6-1BFD8E5EBE15@utdallas.edu> <20071227044016.bqrtqsjpwogkgc8k@www.boosten.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 26, 2007, at 9:40 PM, Peter Boosten wrote: > Quoting Livia Markoczy <livia.markoczy@utdallas.edu>: >> >> syslog_ng_config="-u daemon" >> >> But nothing has logged anywhere, including to console, since the >> time I >> killed the system syslogd. > file permissions. While your syslog-ng runs as daemon, it has no > permission to log to files owned by root (syslogd). > I solved that by logging into a different subdir owned by daemon. OK thanks. (I am the original poster, but I'd accidentally posted using my wife's role). Is there any reason not to simply do a cd /var/log chown -R daemon . also chown daemon /dev/console for console logging. Will log rotation preserve daemon ownership? Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98D543FB-8060-4F8F-B4FD-4E5B8ABE876F>