Apache domain log ignore rule, do not record

ssgill

Verified User
Joined
May 9, 2012
Messages
173
Hello i would like to exclude few rules that shouldn't be written to log file. I have folder protected by .htaccess password and every error is logged as
[access_compat:error] [pid 11815:tid 139968051656448] [client 000.000.00.199:50148] AH01797: client denied by server configuration:
domain.com.error.log

"POST /protectedfolder/ HTTP/1.1" 401 6510 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0"
domain.com.log


I do not want to log this in both the log files, any ideas how this can be accomplished.
Thanks
 
Back
Top