Fixes log path.