[SERVER-373] don't use cout - use log() or something else for everything Created: 20/Oct/09 Updated: 12/Jul/16 Resolved: 13/Jul/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | None |
| Fix Version/s: | 1.5.5 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Eliot Horowitz (Inactive) | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 3 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
then make that talk directly to a file if --logpath is specified |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 13/Jul/10 ] |
|
SetStdHandle doesn't work? |
| Comment by Justin Dearing [ 13/Jul/10 ] |
|
How do you fix this on windows? I tried changing logmanager like the link I added in |
| Comment by Eliot Horowitz (Inactive) [ 13/Jul/10 ] |
|
not going to go direct to file, stdout trick works fine and know how to fix on windows |
| Comment by Justin Dearing [ 10/Jul/10 ] |
|
I'll add the one obvious caveat that the message "all output going to: c:\data\logs\mongo.log" should remain as a cout. |