syslog-ng not logging

Jeffrey Goldberg jeffrey at goldmark.org
Thu Dec 27 06:04:11 PST 2007


On Dec 26, 2007, at 9:40 PM, Peter Boosten wrote:

> Quoting Livia Markoczy <livia.markoczy at 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/



More information about the freebsd-questions mailing list