Add username to logs if available

RESOLVED FIXED in 6.0.8

Status

addons.mozilla.org Graveyard
Code Quality
P3
normal
RESOLVED FIXED
8 years ago
3 years ago

People

(Reporter: clouserw, Assigned: jbalogh)

Tracking

unspecified
6.0.8

Details

(Whiteboard: [qa-])

(Reporter)

Description

8 years ago
Right now I manually add (user:$username) to log messages where it's important, but I'd rather just have it be automated.  In the same way we do %(REMOTE_ADDR)s I'd like to see log messages support %(USERNAME)s and %(USERID)s.  The user can be found in request.user.username or request.user.id.
(Reporter)

Updated

8 years ago
Target Milestone: 5.11.8 → 5.11.9
(Reporter)

Updated

8 years ago
Assignee: james → nobody
Target Milestone: 5.11.9 → 4.x (triaged)
(Reporter)

Comment 1

7 years ago
This is upliftable into playdoh
Target Milestone: 4.x (triaged) → Q2 2011
(Reporter)

Updated

7 years ago
Assignee: nobody → jbalogh
Priority: -- → P3
(Reporter)

Updated

7 years ago
Target Milestone: Q2 2011 → 6.0.8
(Assignee)

Comment 2

7 years ago
https://github.com/jsocol/commonware/commit/e228fa8 and https://github.com/jbalogh/zamboni/commit/3b6ee2c 

(In reply to comment #1)
> This is upliftable into playdoh

Indeed, it went straight to commonware.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.