Fix issue #494 (some log info was printed once per forked process)

Since this is a core bug, the core version should be changed
in a similar way.