Hi,<br><div class="gmail_quote"><br>I've a new stock install of RHEL 6.1 and having some trouble with rsyslog.<br>I've added some additional syslog facilities to log to different files.<br>In my /etc/rsyslog.conf  I have entries for<br>
<br><span style="font-family:courier new,monospace">local1.*        /logs/app1.log</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">local2.*        /logs/app2.log</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">
</span><br>These files exist already, with 755 permissions. However when I restart rsyslogd, I get the following errors:<br><br><span style="font-family:courier new,monospace">Sep 21 17:29:23 sys rsyslogd-2039: Could no open output file '/logs/app1.log' [try <a href="http://www.rsyslog.com/e/2039" target="_blank">http://www.rsyslog.com/e/2039</a> ]</span><br>

<span style="font-family:courier new,monospace"><br></span>If I try to log to these with <span style="font-family: courier new,monospace;">logger -p <a href="http://local1.info">local1.info</a> testmessage</span>    the message is not logged.<br>
If remove the /logs/app1.log  file and restart rsyslogd it  does not create the file, which is what sysklogd used to do. Where am I going wrong?<br><br><font color="#888888"><br>Paul<br><br>
</font></div><br><br>