Re: [go-cd] trying to configure logback and access logs

2017-12-20 Thread Ketan Padegaonkar
The logs do not mention any logback-access.xml anywhere. To get access logs
—

* create a file called `/etc/default/logback-include.xml`, with the
following contents



  



On Wed, Dec 20, 2017 at 4:51 PM 'Barry Greenwood' via go-cd <
go-cd@googlegroups.com> wrote:

> Hi Varsha
>
> I've tried in the  logback.xml
>
>  class="ch.qos.logback.core.rolling.RollingFileAppender">
> /var/log/go-server/lbaccess.log
>  class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
>   lbaccess.%d{-MM-dd}.log.zip
> 
> 7
> 1GB
> true
> 
>   combined
> 
>   
>
>   
> 
>   
>
> 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.
>

-- 
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.


Re: [go-cd] trying to configure logback and access logs

2017-12-20 Thread 'Barry Greenwood' via go-cd
Hi Varsha 

I've tried in the  logback.xml


/var/log/go-server/lbaccess.log

  lbaccess.%d{-MM-dd}.log.zip

7
1GB
true

  combined

  

  

  

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.