Simply use the same statement to choose the severity level based on ACLs. It works on both http-request and http-response.
Baptiste On Sun, Jul 19, 2015 at 10:53 AM, Haim Ari <haim....@startapp.com> wrote: > Thank you it works. > What would be the best way to separate each log type to different log > files: > > 1. Errors > 2. testing > 3. some other acl... > > Thanks again > > On 07/14/2015 03:30 PM, Baptiste wrote: > > On Tue, Jul 14, 2015 at 10:57 AM, Haim Ari <haim....@startapp.com> > <haim....@startapp.com> wrote: > > Hello, > > How can log requests only if path begins with /testing > I already use acl with path_beg to redirect to a backend. > > How can i use the same method for logging ? (or any other way for the above) > > Thank you, > Haim > > > hi Aim, > > Simply use the statement "http-request set-log-level", like: > http-request set-log-level silent unless { path_beg -i /testing } > > Baptiste > > > > > -- > > Haim Ari */* SysOps Manager > > M: 972.584563032 */* T: 972.722288367 >