Closed Bug 47864 Opened 24 years ago Closed 2 years ago

Include server response in NNTP logging

Categories

(MailNews Core :: Networking: NNTP, defect, P3)

Tracking

(thunderbird_esr91 wontfix)

RESOLVED FIXED
100 Branch
Tracking Status
thunderbird_esr91 --- wontfix

People

(Reporter: bugzilla, Assigned: rnons)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

If you log NNTP trafic via NSPR logger you dont get the servers response after 
the client issue the LIST command.
I'd like to get the servers response like:
dk.test 10 5 y
instead of just:
0[346170]: Sending: LIST
0[346170]: Next state: NNTP_RESPONSE
0[346170]: Receiving: 215 list of newsgroups follow
0[346170]: received 29 bytes
0[346170]: Next state: SEND_FIRST_NNTP_COMMAND_RESPONSE
0[346170]: Next state: SETUP_NEWS_STREAM
0[346170]: Next state: NNTP_READ_LIST_BEGIN
0[346170]: progress, receiving list of newsgroups...
0[346170]: Next state: NNTP_READ_LIST
0[346170]: received 28 bytes
0[346170]: Next state: NNTP_READ_LIST
future per mail triage
Target Milestone: --- → Future
accepting all "future" bugs to get them off my "new" bug radar.
Status: NEW → ASSIGNED
Mass moving all NEWS bugs from esther to myself.
QA Contact: lchiang → stephend
Summary: better NNTP logging → Include server response in NNTP logging
gemal, is this really something you would find useful, if so why and when?

Otherwise, make the news buglist a better place and mark this wontfix. ;) 
Thanks.
I've had some news bugs where I'm not sure if mozilla are sending the wrong
things or the server is sending back data in a format that mozilla dont understand.
The IMAP log really helped me a lot in helping to fix bugs. The IMAP log include
server responses.
Product: MailNews → Core
sorry for the spam.  making bugzilla reflect reality as I'm not working on these bugs.  filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Status: ASSIGNED → NEW
comment 5
QA Contact: stephend → networking.news
Product: Core → MailNews Core
Blocks: tb-logging
Whiteboard: [good first bug]
And please add logging/displaying of error messages in the authentication phase. Especially on username/password rejects, read-only mode or other login banners.
Keywords: good-first-bug
Whiteboard: [good first bug]

Is this solved in your newer logging?

Flags: needinfo?(remotenonsense)
Assignee: nobody → remotenonsense
Status: NEW → ASSIGNED
Flags: needinfo?(remotenonsense)
Keywords: good-first-bug
Target Milestone: Future → 100 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/eaeb07983a6b
Log all server responses in NntpClient.jsm. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: