~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to start-loggerhead

  • Committer: Guillermo Gonzalez
  • Date: 2008-09-26 12:48:00 UTC
  • mfrom: (217.2.2 logging)
  • mto: This revision was merged to the branch mainline in revision 226.
  • Revision ID: guillo.gonzo@gmail.com-20080926124800-7pjmc08s1da0cxg8
 merge with mwhudson logging branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
from loggerhead import daemon
33
33
from loggerhead.apps.config import Root
34
34
from loggerhead.trace import make_handler, setup_logging
 
35
from loggerhead.apps.error import ErrorHandlerApp
35
36
 
36
37
def main():
37
38
    home = os.path.realpath(os.path.dirname(__file__))
96
97
 
97
98
    app = app
98
99
    app = make_middleware(app)
99
 
    app = make_filter(app, None)
 
100
    app = make_filter(app, None, logger_name=log.name+'.access')
 
101
    app = ErrorHandlerApp(app)
100
102
 
101
103
    if webpath:
102
104
        scheme, netloc, path, blah, blah, blah = urlparse.urlparse(webpath)