would it make sense to wrap the pipe to logged in an if statement, so you could control the behavior through attributes?

My only concern is if for some reason someone wouldn't want to use syslog.