#4: Total rewrite. Now configurable via log4 api.