Closed Bug 57958 Opened 24 years ago Closed 21 years ago

use PR_LOG instead of fprintf(stderr,"")

Categories

(MailNews Core :: Movemail, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0.1

People

(Reporter: sspitzer, Assigned: pkwarren)

References

Details

Attachments

(1 file, 1 obsolete file)

Status: NEW → ASSIGNED
Attached patch fprintf -> nslog's NS_LOG_PRINTF (obsolete) — Splinter Review
The attached patch uses nslog's logging facility, which seems to be the new wave (in preference to PR_LOG). (Unfortunately the fix for bug 58038 is mixed in there too; either solely this patch needs to be checked in once both bugs' patches are approved, or I will re-generate a patch against the trunk once 58038's patch is in.)
you'll have to wait until warren re-lands his fix for bug 47207.
Depends on: 47207
Hmm, this is sort of blocking up my tree now, since the patch is so cross-mingled with other fixes. Remember, kids: logging APIs come and go but printf() is forever. =)
I don't think the NS_LOG_PRINT stuff is ever going to land. (warren has left the company). can you submit a new patch for fprintf -> PR_LOG?
I take it back, I think the NS_LOG_PRINTF stuff has landed, I see it is used in nsAtomTable.cpp feel free to use NS_LOG_PRINTF or PR_LOG.
I'll be revisiting this 'RSN'.
Target Milestone: --- → mozilla1.0.1
QA Contact: esther → stephend
Properly moving to movemail component.
Status: ASSIGNED → NEW
Component: Mail Back End → Movemail
QA Contact: stephend → gayatri
QA Contact: gayatri → stephend
Taking bug.
Assignee: adam → pkw
Status: NEW → ASSIGNED
Attached patch Patch v1Splinter Review
This replaces all of the MOVEMAIL_DEBUG code with PR_LOG statements.
Attachment #18251 - Attachment is obsolete: true
Attachment #133362 - Flags: superreview?(sspitzer)
Attachment #133362 - Flags: review?(sspitzer)
Attachment #133362 - Flags: superreview?(sspitzer)
Attachment #133362 - Flags: superreview?(mscott)
Attachment #133362 - Flags: review?(sspitzer)
Attachment #133362 - Flags: review?(mscott)
Attachment #133362 - Flags: superreview?(mscott) → superreview+
Fixed. Checking in nsMovemailService.cpp; /cvsroot/mozilla/mailnews/local/src/nsMovemailService.cpp,v <-- nsMovemailService.cpp new revision: 1.41; previous revision: 1.40 done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Attachment #133362 - Flags: review?(mscott)
Verified using LXR. 1.41 pkw%us.ibm.com 2004-02-10 13:58 Bug 57958 - use PR_LOG instead of fprintf(stderr, "") r/sr=mscott@mozilla.org
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: