Question: Possible to disable only JS error logging?
-
Hi,
I’ve been using your great plugin now on a couple of my sites. Its been very helpful so far – especially when combined with Variable Inspector Pro :)??
Basically as the title states, I would like to know, if its possible to disable JavaScript error logging, while keeping PHP error logging enabled?
The reason behind my question is the following scenario which I encountered:
In one of my sites I had a faulty JavaScriptResizeObserver
, which was creating JS errors like crazy (literally dozens per second)…
The client side code of Debug Log Manager now tried to log the JS error into the backend log via ajax, each time it occured. After a few seconds the whole website was down for everyone, as the website was basically DDOSing itself…At the moment this is the only reason that prevents me from using this plugin on a production site. (Of course I fixed my mistake, but potentially this could happen again…)
I guess, the easiest workaround for this would be to simply disable JS error logging once a website is live.
Is this possible at the moment? If not, could you please add a setting for this?
(Maybe you could also add some sort of request debouncing or only make an ajax error logging request if the new JS error is not exactly the same as the last one logged?)
Thanks ??
- The topic ‘Question: Possible to disable only JS error logging?’ is closed to new replies.