Menu

#16 1.4.9 js/log4javascript_production_uncompressed.js and js/log4javascript_production.js scripts reference undefined log4javascript.PopUpAppender().

v1.0 (example)
closed-fixed
nobody
None
5
2014-09-28
2014-09-24
A.P.
No

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.

1 Attachments

Discussion

  • Tim Down

    Tim Down - 2014-09-28

    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.

     
  • Tim Down

    Tim Down - 2014-09-28
    • status: unread --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.