Questions tagged [log4javascript]

log4javascript is a JavaScript logging framework based on the Java logging framework log4j.

log4javascript is a JavaScript logging framework based on the Java logging framework log4j.

Not to be confused with , as it is an adaption of to .

50 questions
0
votes
2 answers

"log4javascript" logger to store in local file

We are currently using log4javascript-popUpAppender console for development and would like to store the details to local file. Though we can use the AjaxAppender to send log messages to the server and log those messages to log4j set up with a…
0
votes
1 answer

Using log4javascript - is there a way to apply a Level to a group?

I am using log4javascript and want to be able to apply a Level to a group. I currently have a PopupAppender that has a threshold of WARN. However, it is triggered whenever I create a group. I am looking for a group function that takes a Level…
gregpakes
  • 4,465
  • 29
  • 43
0
votes
1 answer

Can you load the PopupAppender on demand?

I am trying to use log4javascript and was wondering if there is any way to load the PopupAppender on demand. I am seeking functionality much like the in-browser tools, where there would be an icon in my application that indicates that something has…
gregpakes
  • 4,465
  • 29
  • 43
0
votes
1 answer

Problems with PopUpAppender - seems to be 'undefined'

I try to include the log4javascript JS library within my project and therefore followed a quick example to configure a simple named logger object with a PopUpAppender and I'm seeing the same message over and over again: Uncaught TypeError: Cannot…
herom
  • 2,532
  • 29
  • 41
0
votes
0 answers

Log4Javascript AjaxAppender request headers

I am trying to use log4javascript's ajaxAppender to send a batch of messages to the server in my app. This is how I initialized logging: var log = log4javascript.getDefaultLogger(); log.info('Logging initialized'); var ajaxAppender = new…
blong824
  • 3,920
  • 14
  • 54
  • 75
1 2 3
4