To keep track of the Maestro performance and problems, log files are created during Maestro runtime.
These log files can be used for system administration, security, and debugging purposes. By default, logs are rolled by date.
To view the Maestro log files navigate to [maestro_home]/projectserver/logs. You may use a text editor to view the log files.
To roll maestro.log by date, edit the file [maestro_home]/projectserver/conf/wrapper.conf and set the following properties:
To roll project-server.log by date, edit the file [maestro_home]/projectserver/apps/root/WEB-INF/classes/log4j.xml
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="rolling" class="org.apache.log4j.DailyRollingFileAppender">
<param name="file" value="${appserver.base}/logs/project-server.log" />
<param name="append" value="true" />
<param name="datePattern" value="'.'yyyy-MM-dd" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d [%t] %-5p %c %x - %m%n" />
</layout>
</appender>
</log4j:configuration>
To roll maestro.log by size, edit the file [maestro_home]/projectserver/conf/wrapper.conf and set the following properties:
To roll project-server.log by size, edit the file [maestro_home]/projectserver/apps/root/WEB-INF/classes/log4j.xml
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="rolling" class="org.apache.log4j.RollingFileAppender">
<param name="file" value="${appserver.base}/logs/project-server.log" />
<param name="append" value="true" />
<param name="maxFileSize" value="5MB" />
<param name="maxBackupIndex" value="5" />
<layout class="org.apache.slf4j.PatternLayout">
<param name="ConversionPattern" value="%d [%t] %-5p %c %x - %m%n" />
</layout>
</log4j:configuration>