<br>I have the following log statgements.. (Im basically trying to mirror what solaris 10's default syslogl.conf does):<br><br>log { source (s_streams); filter (f_emerg); destination (l_messages); };<br>
log { source (s_streams); filter (f_err); destination (l_messages); };<br>log { source (s_streams); filter (f_kern); filter (f_debug); destination (l_messages); };<br>log { source (s_streams); filter (f_daemon); filter (f_notice); destination (l_messages); };<br>
log { source (s_streams); filter (f_mail); filter (f_crit); destination (l_messages); };<br>log { source (s_streams); filter (f_mail); filter (f_debug); destination (l_syslog); };<br>log { source (s_streams); filter (f_auth); filter (f_info); destination (l_authlog); }; # sshd logging<br>
<br>However when sending to daemon.err I get duplicate messages...<br><br>Should I change line 2 to this:<br>log { source (s_streams); filter (f_err); filter (not f_daemon)
destination (l_messages); };<br><br>Or should I hard-code every facility like so:<br>log { source (s_streams); filter (f_err); filter (f_daemon)
destination (l_messages); };<br>log { source (s_streams); filter (f_err); filter (f_mail)
destination (l_messages); };<br>log { source (s_streams); filter (f_err); filter (f_auth)
destination (l_messages); };<br>...<br>and so on?<br><br>Thx,.CC<br>