[Mozilla Enterprise] How to disable crash reports?

Mike Kaply mkaply at mozilla.com
Wed Mar 24 19:03:51 UTC 2021


Yes. MOZ_CRASHREPORTER_DISABLE is the best way to do that.

Unfortunately because of how the crash reporter is hooked up, there's no
easy way to disable via policy.

Mike

On Wed, Mar 24, 2021 at 1:12 PM Tiago Marques Delboni <
tiago.delboni at almg.gov.br> wrote:

> Hi!
>
> What is the advised way to disable crash reports on ESR 78 (Windows)?
>
> Is there a policy or config to do it? On an old config I found this, but I
> don't know if it still holds:
>
> // Disable crash reporter
> lockPref("toolkit.crashreporter.enabled", false);
> Components.classes["@mozilla.org/toolkit/crash-reporter;1"].getService(Components.interfaces.nsICrashReporter).submitReports
> = false;
>
>
> Setting environment variable MOZ_CRASHREPORTER_DISABLE = 1 do the trick?
>
> Cheers!
> --
>
> *Tiago Marques Delboni*
> Gerência de Aplicações e Suporte a Clientes / GTI
> (31) 2108-7700
> [image: Assembleia Legislativa de Minas Gerais] <http://www.almg.gov.br> [image:
> Facebook da Assembleia] <http://www.facebook.com/assembleiademinas> [image:
> Twitter da Assembleia] <http://www.twitter.com/assembleiamg> [image:
> Instagram da Assembleia] <http://www.instagram.com/assembleiademinas> [image:
> Youtube da Assembleia] <http://www.youtube.com/assembleiamg/>
> _______________________________________________
> Enterprise mailing list
> Enterprise at mozilla.org
> https://mail.mozilla.org/listinfo/enterprise
>
> To unsubscribe from this list, please visit
> https://mail.mozilla.org/listinfo/enterprise or send an email to
> enterprise-request at mozilla.org with a subject of "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/enterprise/attachments/20210324/3145e3a6/attachment.html>


More information about the Enterprise mailing list