Change the location of a log file

To change where log files are written to, edit the site-options.conf file and restart the runtime environment.

  1. Stop the site.
    • /etc/init.d/collabnet stop all
  2. In the /opt/collabnet/teamforge-installer/16.3/conf/site-options.conf file, change the value of the LOG_DIR variable to reflect the location where you want the log files to be written.
  3. Recreate the runtime environment.
    • ./install.sh -V -r -d /opt/collabnet/teamforge
  4. Start the site.
    • /etc/init.d/httpd start
    • /etc/init.d/postgresql-9.3 start
    • /etc/init.d/collabnet start
All future Apache logs, mail logs, database logs, java logs, and other logs will be written to the new location.