[BlueBream] "Developer mode is enabled" warning is displayed two times at startup

Baiju M baiju.m.mail at gmail.com
Sat Mar 27 00:15:41 EDT 2010


Hi,
    Any idea why "Developer mode is enabled" warning is displayed
two times at startup.  I have reported this here:
https://bugs.edge.launchpad.net/bluebream/+bug/549331

The warning is generated like using logging.warning like this
(zope/app/wsgi/__init__.py):

    # Insert the devmode feature, if turned on
    if options.devmode:
        features += ('devmode',)
        logging.warning("Developer mode is enabled: this is a security risk "
            "and should NOT be enabled on production servers. Developer mode "
            "can usually be turned off by setting the `devmode` option to "
            "`off` or by removing it from the instance configuration file "
            "completely.")

Regards,
Baiju M


More information about the bluebream mailing list