Hi Varsha 

I've tried in the  logback.xml

<appender name="FILEac" 
class="ch.qos.logback.core.rolling.RollingFileAppender">
    <file>/var/log/go-server/lbaccess.log</file>
    <rollingPolicy 
class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
      <fileNamePattern>lbaccess.%d{yyyy-MM-dd}.log.zip</fileNamePattern>
    </rollingPolicy>
    <maxHistory>7</maxHistory>
    <totalSizeCap>1GB</totalSizeCap>
    <append>true</append>
    <encoder>
      <pattern>combined</pattern>
    </encoder>
  </appender>

  <logger name="org.eclipse.jetty.server.RequestLog" level="INFO">
    <appender-ref ref="FILEac" />
  </logger>

and that generates the file but no logs appear.

The docs imply i need to use a logback-access.xml but i cant get that to 
import.

Thanks

Barry

On Wednesday, 20 December 2017 05:31:40 UTC, Varsha Varadarajan wrote:
>
> @Barry - Are you looking for request logs? This can be setup using 
> org.eclipse.jetty.server.RequestLog. Checkout the docs that Ketan pointed 
> to - https://docs.gocd.org/current/advanced_usage/logging.html
>
>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to go-cd+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to