On this page

Scripts

The following is the script package used in this page:

Using the log file script package

The script package contains utilities for gathering and managing log files on your Magic Collaboration Studio server. These scripts are designed to run from a Linux or Windows Cygwin command line.

  • Create log file package
    Use the getlogfiles.sh script to create a package of all log files associated with Magic Collaboration Studio operations. This script will create a TAR archive file containing all the latest logs, as well as some system information. The TAR package can be sent along with your support request to help analyze Magic Collaboration Studio-related issues.
  • Reset log files
    Sometimes you may need to create a fresh set of log files. Use the clearlogfiles.sh script to reset the log files associated with Magic Collaboration Studio operations. Please make sure all Magic Collaboration Studio services are stopped before running the script. This script will then rename all the current log files so that new log files can be generated when the Magic Collaboration Studio services are restarted. Resetting the log files will ensure that the logs will only contain the latest startup information.

Accessing log files

  • For Web Application Platform/Cameo Collaborator for Magic Collaboration Studio:

Go to the <WebAppPlatform installation directory>/logs/webappplatform directory and obtain all .log files (e.g., web-app.logcollaborator.log, etc.).

Default path for Linux: /opt/local/TeamworkCloud/WebAppPlatform/logs/webappplatform

Default path for Windows: C:\Program Files\TeamworkCloud\WebAppPlatform\logs\webappplatform

  • For Magic Collaboration Studio:

Go to the <user.home>\.twcloud\<version number> directory and obtain the server.log file.

Default path for Linux: /home/twcloud/.twcloud/<version>
Default path for Windows: C:\Users\<USER>\.twcloud\<version>

  • For Authentication server:

For version 2022x and up: go to the <TeamworkCloud installation directory>/WebAppPlatform/logs/webappplatform directory and obtain the authentication.log file.

For earlier versions: go to the <user.home>\.authserver\<version number> directory and obtain the authserver.log file.

Default path for Linux: /home/twcloud/.authserver/<version>
Default path for Windows: C:\Users\<USER>\.authserver\<version>

  • For Cassandra:

Default path for Linux: /var/log/cassandra
Obtain system.log and debug.log files.

Default path for Windows: C:\apache-cassandra-<version>\logs
Or go to <Cassandra installation directory>\logs directory and obtain system.log and debug.log files.

  • Properties files for Magic Collaboration Studio:

Default for Linux:
/opt/local/TeamworkCloud/configuration/application.conf
/opt/local/TeamworkCloud/Authserver/config/authserver.properties
/opt/local/TeamworkCloud/WebAppPlatform/shared/conf/webappplatform.properties

Default for Windows:
C:\Program Files\TeamworkCloud\configuration\application.conf
C:\Program Files\TeamworkCloud\Authserver\config\authserver.properties
C:\Program Files\TeamworkCloud\WebAppPlatform\shared\conf\webappplatform.properties