Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Publish/Subscribe tutorial logs are not getting saved to log file#334

mrtushartiwari started this conversation inGeneral
Discussion options

python Publish/Subscribe

I followed the above tutorial.
The logs are printed in the terminal.

python receive_logs.py

But logs are not saved to logs_from_rabbit.log, (The file is created but it is empty)

python receive_logs.py > logs_from_rabbit.log

Yes, I am running emit_log in each case.

python emit_log.py

Running this on window 10.
Successfully able to follow earlier tutorials.

You must be logged in to vote

Replies: 1 comment

Comment options

The tutorial prints to standard streams. You can either modify it to log to a file orredirect those streams to a file or two files. The tutorial assumes Linux, macOS or another UNIX-like operating system, my guess is that using a standard shell in WSL on Windows would have the same behavior.

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
2 participants
@mrtushartiwari@michaelklishin
Converted from issue

This discussion was converted from issue #333 on August 26, 2022 13:24.


[8]ページ先頭

©2009-2025 Movatter.jp