Where does Firefox store the contents of the Error Console?

1.3k views Asked by At

Where does Firefox store the contents (text messages) of the Error Console. The errors, warnings, messages etc. are stored somewhere as Firefox retains them even if the browser is closed and re-opened.

I tried to search the entire profile folder but couldn't find out which file or sqlite DB these error console messages are written to ?

Does anyone have idea about this ?

Thanks in advance.

1

There are 1 answers

7
Nickolay On BEST ANSWER

No, Error Console is cleared if you close Firefox and re-open it.

Error Console isn't tied to a particular browser window, so while Firefox runs, the messages are retained even if you close and open some windows. During the lifetime of the application, the messages are stored in memory (code link).

If you're looking for a way to dump messages that appear in the Error Console to a file, it's possible to do that, but I don't remember off-hand and don't want to look for it unless that's what you're interested in.
[edit The best I could find was this]

[edit] if you indeed see this, are you sure it's just base Firefox? Maybe it's some of the extensions you've installed? (Though it would be weird to implement messages persistence in the Error Console.)