added log directory rerouting
added log directory rerouting; fixed dispatch for this