[HELP!] serverside hooks behind bzr+http://

Andrew Bennetts andrew at canonical.com
Sun Sep 14 13:03:02 BST 2008

Marius Kruger wrote:
> 2008/9/13 Andrew Bennetts <andrew at canonical.com>
>     Probably all you need to do is add this to your script:
>     from bzrlib.plugin import load_plugins
>     load_plugins()
>     -Andrew.
> I figured that out thanks, I dont know why but I only received your e-mail now.

A temporary mail snafu on my end :(

> do you think we should get `wsgi.make_app()` to do this automatically?
> then we can add additional parameters:
> smart_server_app = wsgi.make_app(
>     root='/var/lib/gforge/bzrroot',
>     prefix='/bzr/',
>     path_var='REQUEST_URI',
>     readonly=False,
>     load_plugins=True,
>     logfile='/var/log/bazaar.fcgi.log',
> )

I think that's a good idea.

> note I also want to get the logging working (properly set, or properly
> disabled), because I get a lot of `No handlers could be found for logger
> "bzr"` in my apache log.
> I'll probably hack a patch together for this soon, if it sounds ok to you.

It does, thank you!


More information about the bazaar mailing list