Appendix B - Logging : Enabling Publish Logging
  

Enabling Publish Logging

Add a new file appender for the publish logging.
In <orchestra install dir>/conf/logback.xml, add the following element just above the line with "<logger name="com.sun.enterprise.server.logging.GFFileHandler" level="INFO"/>":
 
<appender name="publishAppender" class="com.qmatic.qp.logging.QPRollingFileAppender">
<file>${com.sun.aas.instanceRoot}/../../../../../logs/publish.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${com.sun.aas.instanceRoot}/../../../../../logs/publish-%d{yyyy-MM-dd}_%d{HHmmss}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="com.qmatic.qp.logging.StartupTimeAndSizeBasedTriggeringPolicy">
<maxFileSize>10MB</maxFileSize>
<maxBackupIndex>10</maxBackupIndex>
</timeBasedFileNamingAndTriggeringPolicy>
</rollingPolicy>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<!-- In order to DEBUG change this filter level, along with required components below -->
<level>DEBUG</level>
</filter>
</appender>
 
Around line 150, replace the this line:
<logger name="com.qmatic.qp.jiql.core.cm" level="INFO"/>
 
with these lines:
<logger name="com.qmatic.qp.jiql.core.cm" level="DEBUG" additivity="false">
<appender-ref ref="publishAppender"/>
</logger>
 
Save the file, it will take effect within a minute.