[SERVER-8061] Unify shell output functions Created: 02/Jan/13  Updated: 26/Oct/21  Resolved: 26/Oct/21

Status: Closed
Project: Core Server
Component/s: JavaScript, Shell
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Ben Becker Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-8171 Logging to stdout can break in V8 Closed
Participants:

 Description   

Currently, the shell (and JS) uses a mix of cout and printf(). Flushing is not explicitly handled in many places. This should be unified so all output is produced through one function.



 Comments   
Comment by Ben Becker [ 07/Jan/13 ]

Assigning to Tad – this appears to be obscuring output from windows (and possibly solaris).

Generated at Thu Feb 08 03:16:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.