… | |
… | |
3678 | char bytes[40]; |
3678 | char bytes[40]; |
3679 | |
3679 | |
3680 | if ( hc->hs->no_log ) |
3680 | if ( hc->hs->no_log ) |
3681 | return; |
3681 | return; |
3682 | |
3682 | |
|
|
3683 | /* don't log UNKNOWN protocol requests (blocks etc..) */ |
|
|
3684 | if ( !strcmp (hc->protocol, "UNKNOWN") ) |
|
|
3685 | return; |
|
|
3686 | |
3683 | /* This is straight CERN Combined Log Format - the only tweak |
3687 | /* This is straight CERN Combined Log Format - the only tweak |
3684 | ** being that if we're using syslog() we leave out the date, because |
3688 | ** being that if we're using syslog() we leave out the date, because |
3685 | ** syslogd puts it in. The included syslogtocern script turns the |
3689 | ** syslogd puts it in. The included syslogtocern script turns the |
3686 | ** results into true CERN format. |
3690 | ** results into true CERN format. |
3687 | */ |
3691 | */ |