<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 13/09/2023 22:48, Ian Goldstein
(BLOOMBERG/ 120 PARK) via Pdns-users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:65022E380001FDBC0C430001@message.bloomberg.net">While I
am successfully logging to /var/log/pdns.log, I am also logging to
/var/log/messages which I do not want.</blockquote>
<p>That question is entirely about rsyslog and not powerdns, but in
short you'll need something like this:</p>
<p>local1.* {<br>
# Logging for powerdns<br>
# facility-specific targets<br>
action(type="omfile" file="/var/log/pdns.log")<br>
<b> stop</b><br>
}</p>
<p>You can see some more examples at
<a class="moz-txt-link-freetext" href="https://www.rsyslog.com/doc/v8-stable/configuration/converting_to_new_format.html#converting-action-chains">https://www.rsyslog.com/doc/v8-stable/configuration/converting_to_new_format.html#converting-action-chains</a></p>
<p><i>("A common construct is to send messages to a remote host
based on some message content and then not further process it")</i><br>
</p>
<p></p>
</body>
</html>