mb: fail to log before foking, s: add timed logging method