-
Notifications
You must be signed in to change notification settings - Fork 303
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
Fix logging issue on windows #5364
Fix logging issue on windows #5364
Conversation
Stream console logging to sys.stdout.
@mrpau-richard Fix confirmed! 👍 What a beautiful sight: logging on Windows again! 😄 |
@radinamatic do you have a |
This change seems to suppress final command line output. Before:
Now:
|
Current coverage is 51.78% (diff: 0.00%)@@ develop #5364 diff @@
==========================================
Files 142 142
Lines 7608 7606 -2
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 3922 3939 +17
+ Misses 3686 3667 -19
Partials 0 0
|
Hi @benjaoming done fixing the final command line output. Hi @radinamatic Here's the windows installer for your testing. |
@benjaoming Yes,
|
On Windows this is the command prompt output:
|
@radinamatic @mrpau-richard I'll test this later tonight, will merge when it's confirmed working :) Great fix!! |
@@ -511,6 +509,9 @@ def start(debug=False, daemonize=True, args=[], skip_job_scheduler=False, port=N | |||
|
|||
manage('initialize_kalite') | |||
|
|||
for addr in get_urls_proxy(output_pipe=sys.stdout): | |||
sys.stdout.write("\t{}\n".format(addr)) | |||
|
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@mrpau-richard - this is actually part of the PR template since merging another PR (which isn't part of yours, that's why tests are failing) - you should always add something in the release notes about your fixes or features. I'll add it after, so don't worry. Just letting you know :) ..it's to keep the |
Confirming that stdout is working now again on Ubuntu, merging and making a bit of cleanup after. |
Finalize windows logging PR (#5364)
Summary
Hi @benjaoming & @radinamatic This fixes #5057
@radinamatic Here's the windows installer for testing the KA Lite windows logging.