Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
In order to change the location of your settings and logs, set the environment variable PURPLEHOME. This is documented here. Your logs will be in a subdirectory called logs.