Open Thuener opened 8 years ago
hey, just out of interest: do you know how I can obtain logging output from a worker, i.e. added via addprocs
(on the same machine though)? cheers
The only workaround that worked for me was to put the PID of the worker in the message. Using the PID I can identify which worker wrote the message, but I have a unique log file.
I get no output at all from a worker process. i can see println
from workers, but I can't see any @debug()
.
scrap that, I found out how it works. but yeah, I agree that the worker identity would be very helpful to see.
After starting the workers you have to call Logging.configure(level=Logging.DEBUG).
Add pid in the Logging message is an easy way to identify which thread belongs in an multithreaded execution.