Log Files
Magic Collaboration Studio runs under the Magic Collaboration Studio user and, by default, stores log files of Magic Collaboration Studio and Authserver under this user's profile (/home/twcloud). There are 2 configuration files that control the location of these log files:
- <install_root>/TeamworkCloud/configuration/logback.xml - controls the location of the Magic Collaboration Studio log files.
- <install_root>/WebAppPlatform/shared/conf/logback.xml - controls the location of the Web Application Platform services log files.
In the logback.xml file, there are settings for log files that must be edited.
In each section, there are 2 settings that must be modified: file and fileNamePattern. The file setting controls the absolute path to the latest log file. The fileNamePattern setting controls the naming convention for the log file archiving. In most cases, it will suffice to replace the ${user.home} token with a different location, but you must ensure that the Magic Collaboration Studio user has ownership of the target directories.
The logback-spring.xml file contains one section which must be modified.
The same changes and permissions apply to the changes in this file as to those in <install_root>/TeamworkCloud/configuration/logback.xml.
Files installed on system locations
Daemon control files | Environment files | Cassandra installation |
---|---|---|
|
| The script will place the data files in /data/data and commit logs to /logs/commitlog |