* C. L. Martinez <carlopm...@gmail.com> le [30-06-2016 12:50:36 +0000]:
> Hi all,
>
>  Sorry if this question sounds stupid, but how can I avoid this type of
entry in OpenBSD's httpd access.log:
>
> 172.22.55.1:44710 -> 172.22.55.10, /favicon.ico (404 Not Found), [/]
[/favicon.ico]
>

Hi,
in httpd.conf :

    server "yourdomain.com" {
        ...
        no log
    }


You might want to keep access log. Separate errors in another file :


    server "yourdomain.com" {
        ...
        log access "yourdomain.access.log"
        log error "yourdomain.errors.log"
    }


see man httpd.conf for more :)


--
/Thuban/

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]

Reply via email to