-1

What would be the easiest way to exclude 206 requests from apache xampp log ?

Thanks

1 Answers1

0

The answer to Prevent logging of 400 errors in Apache httpd should help. Basically what you want to setup is conditional logging, and filter on the environment variable REQUEST_STATUS:

CustomLog logs/access-errors.log common "expr=%{REQUEST_STATUS} != 206" should do what you want. Adapt the log path and log format to your liking.

flinkflonk
  • 664
  • 4
  • 5