powerdns_pipe icon indicating copy to clipboard operation
powerdns_pipe copied to clipboard

log api in query responder block

Open databus23 opened this issue 11 years ago • 0 comments

How do you feel about adding a log api in the query responder block context to allow for individual logging while processing the request?

Something like this:

module PowerDNS
  class Pipe
    class Answer
      def log(msg); @pipe.log msg; end
    end
    def log(msg); respond('LOG', msg); end
  end
end

databus23 avatar Sep 29 '14 12:09 databus23