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 
<[email protected]><mailto:[email protected]> 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

[cid:[email protected]]

Reply via email to