Keep reference of which fork runs which module

Event knows which module the process is, logging does not need to pass
this any more.