- log messages on fork and once fork terminated