relocated log and patched darwin readlink alt-logic.