# HG changeset patch # User Alexandre Fayolle # Date 1275126751 0 # Node ID a826996875e7ae25cebeae9965215b0bbbe14484 # Parent 2f3d4ca6f7f85994d74be8517be5a53e6d02acdc [win32 service] activate logging to the configured file as soon as possible since we don't always have access to the system events of the computer running CW it is important to get as much information as possible in the log file, especially startup failure messages. diff -r 2f3d4ca6f7f8 -r a826996875e7 etwist/service.py --- a/etwist/service.py Wed May 12 17:07:07 2010 +0200 +++ b/etwist/service.py Sat May 29 09:52:31 2010 +0000 @@ -71,6 +71,8 @@ _check_env(os.environ) # create the site config = cwcfg.config_for(self.instance) + config.init_log(force=True) + logger.info('starting cubicweb instance %s ', self.instance) root_resource = CubicWebRootResource(config, False) website = server.Site(root_resource) # serve it via standard HTTP on port set in the configuration