Add option for storing logs in different directory