first version of process safe logger