Apache log4php™ is a versatile logging framework for PHP.
Home page: http://logging.apache.org/log4php/