You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given that multiprocessing logging starts a log server, I would like to be able to have code running on multiple machines and one machine runs the log server. I'm not sure how to do this with this library.
The text was updated successfully, but these errors were encountered:
You could refer #26 as @ZeroRin has figured out a way to achieve this.
On logger machine, start with use_multiprocessing=True, port=PortNumber as usual. On the worker machines, add one more argument of host=“Logger machine hostname or ip”. Also, using string --multiprocessing-fork as the first sys.argv value for these worker scripts. You could either pass that string to command line that starts the script or put sys.argv[1]=“--multiprocessing-fork” before setup_logging().
It should be simpler at the next release version, but for now, this is the way to do it.
If you still need help, please describe a little more about your use case.
Given that multiprocessing logging starts a log server, I would like to be able to have code running on multiple machines and one machine runs the log server. I'm not sure how to do this with this library.
The text was updated successfully, but these errors were encountered: