-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pretty Print MongoDB server output #599
Comments
Hi @hasezoey! if no one is picking this issue i can pick this. |
you can try if you want to, i would recommend reading CONTRIBUTING first |
Hey Hi!! @hasezoey |
@Aspireve you can work on it and open a PR (probably in DRAFT mode), you can also join our discord and ask questions there |
Ohh Awesome!! I'll start by going over the CONTRIBUTING file and skimming over the code (PS I joined the Discord Server) |
Heyy @hasezoey!! Could you explain this issue. I actually wasn't able to quite understand it. Do I actually have to make the pretty format only when in debugging? Also does it have to be done to the output or just the console logs? (PS I currently forked the repository an will create a DRAFT PR soon) |
yes, because i assume doing
i dont quite understand the question, the logs from mongodb output in |
Ohh Ok, I got what you are saying!! Thanks!! |
Hey also @hasezoey should I fork it and create a new branch in my repo and work there or should I just clone this repo and work on the beta branch? Cause I guess it not mentioned in the CONTRIBUTING.md Also should I create an Issue about the same so that someone else could solve it later? |
it does not matter which branch you work on as long as it is a fork, the only thing to keep in mind is if you want to keep the main branches of the main repo and your fork in sync, you will have to fore-push to your repo
no i dont think that is required |
@Aspireve those questions are not related to the issue at hand, please ask them in discussions or preferably on discord *if any of the questions are non-specific, they may get added to CONTRIBUTING or some other place as for how to run the project (tests) run either in root |
Ohh cool!! Thanks!! |
Hey after running coverage it's begun installing 2-3 MongoDBs with very different versions, is it the correct method of working or am I doing something completely wrong lol |
@Aspireve like i said, this is not part of this issue, please keep it to github discussions or preferably our discord and yes, that is expected and normal |
for mongodb 4.4, they have changed to use logs as json, currently we are printing them as-is, but it is pretty hard to debug as they are
this is a tracking issue for pretty printing this new log output
implementation details:
also, a alternative could be to write something to read in the finished log and colorize and sort it for faster debugging
The text was updated successfully, but these errors were encountered: