Relocate the STA Logs Directory (optional)

Relocate the STA and MySQL logs to a location other than the default, which is /var/log/tbi.

After you complete this procedure, STA will write logs to the new location. You can perform this procedure anytime after STA has been installed. See Review the STA File System Layout for the location requirements.

  1. On the STA server, open a terminal session. Log in as the system root user.
  2. Stop all STA services:
    # STA stop all
    
  3. Create the new logs directory. For example:
    # mkdir -p /LOGS_DIR/log/
    
  4. Change access permissions to the directory so STA and MySQL can write to it. For example:
    # chmod 777 /LOGS_DIR/log
    
  5. Move the current /var/log/tbi directory to the STA logs directory you have just created.
    # mv /var/log/tbi /LOGS_DIR/log
    
  6. Create a symbolic link from your new STA logs directory to the default location. For example:
    # ln -s /LOGS_DIR/log/tbi /var/log/tbi
    
  7. Restart STA:
    # STA start all