JuliaLang / JuliaLang/Distributed.jl
Need better control over worker logging
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 55
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
Currently, even if you define your own AbstractLogger and set Base.global_logger(mylogger), worker loggers still prepend " From worker X: to all logs.
My current work-around is doing
using Distributed
function Distributed.redirect_worker_output(ident, stream)
@schedule while !eof(stream)
println(readline(stream))
end
end
using MyPkg
MyPkg.run()
So hurray for JuliaLang/julia#265 and all, but we really need better controls here.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by reading Distributed.redirect_worker_output and the AbstractLogger/Base.global_logger interaction described in the report, then clarify the desired logging controls and define tests showing when worker prefixes should or should not appear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100