1.4.9 js/log4javascript_production_uncompressed.js and...
Brought to you by:
timdown
Hello,
The 1.4.9 js/log4javascript_production_uncompressed.js and js/log4javascript_production.js scripts reference log4javascript.PopUpAppender() within log4javascript.getDefaultLogger(), but log4javascript.PopUpAppender() isn't actually defined within either script.
A call to log4javascript.getDefaultLogger() will result in an error like below (when using Chrome):
Uncaught TypeError: undefined is not a function log4javascript_production_uncompressed.js:855 log4javascript.getDefaultLogger log4javascript_production_uncompressed.js:855 (anonymous function) bug.html:6
This can be reproduced by placing the attached bug.html file, which is based upon the sample code at http://log4javascript.org/docs/quickstart.html, in the project's root and then opening it in a browser.
Thanks for this. I've changed the production version to have no appenders in the default logger. I'll create a new release later today.