change log path to root