Software defines the location of writable files by using the SM_WRITEABLE environment variable. By default, SM_WRITEABLE is defined as BASEDIR/smarts/local.
This means the following:
Saved consoles are written to BASEDIR/smarts/local/consoles.
Log files are written to BASEDIR/smarts/local/logs.
Repository files are written to BASEDIR/smarts/local/repos.
If you want all writable files to be written elsewhere, set the path by using the SM_WRITEABLE environment variable.
To set SM_WRITEABLE, add the variable to the runcmd_env.sh file.