… | |
… | |
3685 | |
3685 | |
3686 | if ( hc->hs->no_log ) |
3686 | if ( hc->hs->no_log ) |
3687 | return; |
3687 | return; |
3688 | |
3688 | |
3689 | /* don't log UNKNOWN protocol requests (blocks etc..) */ |
3689 | /* don't log UNKNOWN protocol requests (blocks etc..) */ |
3690 | if ( !strcmp (hc->protocol, "UNKNOWN") ) |
3690 | if ( hc->method == METHOD_UNKNOWN ) |
3691 | return; |
3691 | return; |
3692 | |
3692 | |
3693 | /* This is straight CERN Combined Log Format - the only tweak |
3693 | /* This is straight CERN Combined Log Format - the only tweak |
3694 | ** being that if we're using syslog() we leave out the date, because |
3694 | ** being that if we're using syslog() we leave out the date, because |
3695 | ** syslogd puts it in. The included syslogtocern script turns the |
3695 | ** syslogd puts it in. The included syslogtocern script turns the |