Update log dir to be configurable

Also remove prestart hook