ZCML File
configure.zcml

<configure
    xmlns="http://namespaces.zope.org/zope"
    >
<class
    class=".error.ErrorReportingUtility"
    >
<factory
    id="zope.app.ErrorLogging"
    />
<require
    permission="zope.Public"
    interface=".interfaces.IErrorReportingUtility"
    />
<require
    permission="zope.ManageServices"
    interface=".interfaces.ILocalErrorReportingUtility"
    />
</class>
<class
    class=".error.RootErrorReportingUtility"
    >
<require
    permission="zope.Public"
    interface=".interfaces.IErrorReportingUtility"
    />
<require
    permission="zope.ManageServices"
    interface=".interfaces.ILocalErrorReportingUtility"
    />
</class>
<utility
    component=".error.globalErrorReportingUtility"
    provides=".interfaces.IErrorReportingUtility"
    />
<subscriber
    handler=".bootstrap.bootStrapSubscriber"
    for="zope.app.appsetup.IDatabaseOpenedEvent"
    />
</configure>