Merge lp:~gary/launchpad/bug662912 into lp:launchpad
Proposed by
Gary Poster
Status: | Merged |
---|---|
Approved by: | Gary Poster |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11797 |
Proposed branch: | lp:~gary/launchpad/bug662912 |
Merge into: | lp:launchpad |
Diff against target: |
100 lines (+21/-2) 4 files modified
.bzrignore (+1/-0) configs/development/launchpad-lazr.conf (+1/-0) daemons/librarian.tac (+8/-2) lib/canonical/librarian/web.py (+11/-0) |
To merge this branch: | bzr merge lp:~gary/launchpad/bug662912 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julian Edwards (community) | Approve | ||
Review via email: mp+39315@code.launchpad.net |
Commit message
Add diagnostics for bug 662912
Description of the change
This branch adds diagnostics to approach bug 662912. As noted in my comment #1 for that bug, I have a hypothesis that this is caused by a rejected hostname. This branch adds log messages for that case, plus all other cases that generate a 404 other than a simple missing file (_eb_getFileAlias in c/librarian/
It also puts the message about upstream librarians in the logfile so it is easier to see that the configuration is as expected.
It also creates a log file destination for development so developers can look at the locally-generated logs.
To post a comment you must log in.
The development target for logs is unneeded and harmful, please don't
do that. My librarian branch already captures the log per-test and
includes in the test details.