I would use log4r. An application is registered only once, but, depending on your log4r configuration, it can send the same log to several logs in several formats using several protocols. This is a steep learning curve (a la syslog), but worth the effort.
source share