syslogroute

Route Yii log messages directly to syslog / Windows Event Log
2 reviews   downloaded 233 times
created by eval, last updated on September 9, 2009

This extension can be used in Unix and Windows systems in order to route Yii logs through syslog/Windows Event Log.

Specially in Unix systems it may be useful if you want to route log messages in external log storage systems through syslog.

I am sure there are bugs or awful coding, but it was done in a short timeframe and you may consider this as a PoC.

Disclaimer: Don't use it in production or heavy loaded systems, there's no warranty that this piece of code won't explode your servers.

P.S: Windows Event support lacks of priorities, in case anyone has any idea, don't hesitate to share it in the forum discussion. UPDATE 9/9: The above bug is now fixed, thanks to Magomed :)

Resources