manage log directory and change default logstash path