log4javascript
log4javascript is a JavaScript logging framework based on the Java logging framework log4j. Its purpose is to provide JavaScript developers with a familiar, robust and flexible logging framework with which to debug JavaScript applications. This is becoming increasingly important as web interfaces become richer thanks to the recent appreciation of the possibilities of Ajax.