Is there something syslog does not do? multi level is
built in. Use a cron task to record back to a postgres db if needed/wanted.
syslog.conf lets you decide what to log (to some degree).
Why re-invent things? Most admins sort-of understand syslog.
--
Stephen N. Kogge
stevek(at)uimage(dot)com
http://www.uimage.com