If we had a `journald` log provider, then the foll...
# openvox
c
If we had a
journald
log provider, then the following would probably preserve the most backwards-compatibility:
Copy code
def self.setup_default
  dest = if Puppet.features.journald?
           :journald
         elsif Puppet.features.syslog?
           :syslog
         elsif Puppet.features.eventlog?
           :eventlog
         else
           Puppet[:puppetdlog]
         end

  Log.newdestination(dest)
end
But, we don't have a JournalD provider.